Con Rodi wrote:
Thanks, Jamie. This seems to work for things like {{PAGENAME}}, but so does $wgParser->replaceVariables($text). Neither function call pulls in values for triple brace parameters. Right now all I really need is the PAGENAME of the page being rendered, so this works for me.
Strange. That's the function that would do it (I spent a lot of time tracing trying to figure it out). Parser.php, lines 1969-1999.
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.