[Mediawiki-l] Get Mediawiki to read template variables within extension tags?

Billy Covington wrcovington at gmail.com
Wed Dec 21 09:21:53 UTC 2005


Hello all! Thank you for your help!

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.

Evan found this page:
http://blog.w-nz.com/archives/2005/08/23/using-template-variables-in-extension-tags-with-mediawiki/
Where, basically, Bas Westerbaan had created a "mod" or "patch" for
Mediawiki that would allow it to read variables that are within
extension tags. However, I tired it, and it is apparent that his patch
no longer works with the current version of Mediawiki.

I am definitely no expert or even novice at php, and when he started
talking about "diffutils" and comparing the code line by line, my eyes
glossed over.

Does anyone know of any other patches or modifications I can make to
Mediawiki to make it read template variables that are within extension
tags?


Thanks again in advance for any help you could provide. I appreciate it greatly.



--Billy Covington
http://www.thesteeps.net
http://www.singletrackwiki.com



More information about the MediaWiki-l mailing list