Hi all, I think I can help you out I hacked mediawiki parser.php (version 1.6.3) three monthes ago in order to extend mediawiki extension behaviour for my personnal use.
My tweaks addressed two parsing issues :
- parser limitations regarding template arguments handling within extension - parser not handling correctly some nested extensions cases
My hack is rather ugly, but it is working like a charm. (with the 1.6.3 version)
You can browse the code here : http://meta.wikimedia.org/wiki/User:Guilrom/ParserRGVersion http://meta.wikimedia.org/wiki/User:Guilrom/ParserRGVersion
Let me know if this is helpful !
Bests, Romain GUILLOT http://meta.wikimedia.org/wiki/User:Guilrom http://meta.wikimedia.org/wiki/User:Guilrom < http://meta.wikimedia.org/wiki/User:Guilrom/ParserRGVersion http://meta.wikimedia.org/wiki/User:Guilrom/ParserRGVersion%3E
----
Message: 2 Date: Fri, 14 Jul 2006 08:38:24 -0400 From: "Chris Earle" cearle@cbltech.ca Subject: Re: [Mediawiki-l] Get Mediawiki to read template variables withinextension tags? To: mediawiki-l@wikimedia.org Message-ID: e98391$fqe$1@sea.gmane.org
Hi all,
i'm going to keep hunting around for a fix for this problem -- i have not
checked recent changelog entries to see if it is being >addressed, but in the meantime, can someone point me in the direction of a fix? or something about sending stuff to the >parser?
I read this part of the extensions FAQ
http://meta.wikimedia.org/wiki/MediaWiki_extensions_FAQ#Templates_with_exte nsion_tags http://meta.wikimedia.org/wiki/MediaWiki_extensions_FAQ#Templates_with_exten sion_tags < http://meta.wikimedia.org/wiki/MediaWiki_extensions_FAQ http://meta.wikimedia.org/wiki/MediaWiki_extensions_FAQ%3E
but there's no solution offered up.....
Stumbled upon this when I whipped together a little extension for myself
only to find out it wouldn't work with the template >I'm using it in
Thanks for any suggestions,
--
Chris