[Mediawiki-l] parser function problem in 1.12.0

Frankel, Bob bios-bob at ti.com
Mon Apr 7 02:31:16 UTC 2008


i have written a number of custom parser-functions that return text
which itself contains one of my custom tag-extensions...  for example,
 
    function myParserFunction_Render( &$parser, $body = '' ) {
        return "...<myTag>...</myTag>...";
    }

using 1.12.0, i now see <myTag>...</myTag> in the generated page; before
(with 1.11.0) i saw the results of processing <myTag> in a separate
extension.
 
i realize the parser has undergone some major changes in 1.12.0....  in
the past, it seemed, i was able to "pass" information from
parser-functions to tag-extensions through this technique.   the latter
appeared to handled "after" the parser-functions, and were a place where
i could lay down things like <img> and <a> tags....
 
 


More information about the MediaWiki-l mailing list