Hi Simon,
I took a look at your extension and started making modifications. After a while at that, I realized that it would probably be more useful (for my own purposes) to extend the original design to support multiple syntaxes and bypass the Parser's wikitext engine rather than just hijacking it at the front.
The result is an extension called AlternateSyntaxParser, which supports both Markdown and Textile out-of-the-box and allows per-page inline configuration as well as a site-wide default. For more details, see MediaWiki extension page:
http://www.mediawiki.org/wiki/Extension:AlternateSyntaxParser
Check out the developer notes section for a description of how the implementation differs from MarkdownSyntax. Or, feel free to review the source code which is available here:
http://jimbojw.com/wiki/index.php?title=AlternateSyntaxParser
I'll be happy to answer any questions - thanks!
-- Jim R. Wilson (jimbojw)
On 6/2/07, Simon Dorfman emaillists@simondorfman.com wrote:
I updated MarkdownSyntax [1] to use ParserBeforeStrip instead of ExtendedSyntaxParser. I think everything is working now. Please try it out if you're interested and report any success or failures.
Thanks, Simon
[1] http://www.mediawiki.org/wiki/Extension:MarkdownSyntax
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l