Mediawiki 1.22.1, lua, Scribunto and templates from Wikipedia

⇠ Back to Blog:Hacks

I am upgrading laussywiki to MediaWiki 1.22.1, mainly to support the new citation templates from wikipedia. They are great and I want a better/more thorough and more consistent quotation system.

This needs Scribunto extension, based on the lua scripting language.

Then one needs to import the templates themselves. Do that from your local Special:Import page after Special:Export -ing from the Wikipedia. Apart from the Template:Cite pages, you will also need the Module:Citation pages. It is the same type of things as far as the end user is concerned, just with a different name. A snapshot is shown how to do the exporting into a xml file:


(you just copy/paste the modules of interest in the form).