Seeing some stuff here
About accessing the parser
Trying this, not working though.....not sure if it's a PHP5 thing
function myHook($input, $argv, &$parser)
$localParser = new Parser();
$output = $localParser->parse("<big>$input</big>",
$text = $output->getText();
Tried returning that $text in my extension....no go
Not sure if the reference there to the &$parser is valid
"Chris Earle" <cearle(a)cbltech.ca> wrote in
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
meantime, can someone point me in the direction of a
fix? or something
sending stuff to the parser?
I read this part of the extensions FAQ
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,
"Jan Steinman" <Jan(a)Bytesmiths.com> wrote in
> > I am attempting to create a template in which all anyone needs to do
> > to put a Google Map on a page is use a template with 3 variables
> > (longitude, latitude, and description) using Evan Miller's Google Maps
> > extension (http://meta.wikimedia.org/wiki/User:Emiller/
> > GoogleMapsExtension).
> > The only problem is, Mediawiki won't read the variables if they're
> > inside the <googlemap></googlemap> extension tags.
> You will have to modify the extension to feed the included text
> through the wiki parser.
> > I am definitely no expert or even novice at php...
> This would seem to be beyond your scope, then. It sounds like an
> interesting project, but I have no extra time to help you right now!
> Perhaps someone else with an interest will want to craft a solution.
> :::: We may no longer have a free press, but it is reasonably priced.
> -- John Cory
> :::: Jan Steinman <http://www.Bytesmiths.com>