This would run into serious problems with stuff like system messages (which contain lots of wikitext, at least by default) and hardcoded strings (many of which are at least going to be HTML, if perhaps not often wikitext). Nice idea, though.
Thanks Simetrical, that's a good point. Definitely something to consider when attempting to extend the Parser.
Can anyone think of something they currently can't achieve with the existing hooks? Something that might be solvable with a Factory class?
-- Jim
On 2/15/07, Simetrical Simetrical+wikilist@gmail.com wrote:
On 2/15/07, Jim Wilson wilson.jim.r@gmail.com wrote:
Alternate Parsers - Extension developers could implement alternate
parsers.
This _could_ put an end to the _italicized_ and *bold* debates. It might also offer a way to allow pages to use any of a number of different
parsers
for different purposes. Maybe have some pages use MW syntax, while
others
use full XHTML with the aid of a WYSIWYG editor (not a full solution to
that
debate, but it's something).
This would run into serious problems with stuff like system messages (which contain lots of wikitext, at least by default) and hardcoded strings (many of which are at least going to be HTML, if perhaps not often wikitext). Nice idea, though.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l