On Sun, Sep 9, 2012 at 7:07 PM, Roberto Flores f.roberto.isc@gmail.com wrote:
How would this template API function? What does import mean?
By this I mean, a set of functions written in some computer language to which I could send them the template within the wiki markup and receive HTML to display.
Wikipedia does this whenever a page is requested, but I ignore the exact mechanism through which it's performed. Maybe you just need to make that code publicly available, and I'll try to make it work with my application somehow.
See https://gerrit.wikimedia.org/r/gitweb?p=operations%2Fmediawiki-config.git (master branch) for the current configuration (including which extensions are enabled or not for a specific wiki) and https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=shortlog;h=refs... (wmf/1.20wmf10 branch) for the core code and extensions (extensions are in submodules) with versions of each (repo) that are currently deployed. That branch name changes about every 2 weeks.
-Jeremy