Changes

Jump to navigation Jump to search
Here's the [https://www.mediawiki.org/wiki/Manual:Importing_Wikipedia_infoboxes_tutorial Mediawiki page] about importing infoboxes from Wikipedia (here's a [https://en.wikipedia.org/wiki/Category:Infobox_templates list] of infobox templates and a [https://en.wikipedia.org/wiki/Help:Infobox help page] on infoboxes and [https://en.wikipedia.org/wiki/Help:Designing_infoboxes another help page] on designing infoboxes from Wikipedia).
Installation procedure begins with installing the [https://www.mediawiki.org/wiki/Extension:Scribunto Scribunto extension] (the [https://www.mediawiki.org/wiki/Extension:ParserFunctions ParserFunctions extension] comes with Mediawiki 1.18 or newer).
$ cd ~/Downloads
require_once "$IP/extensions/Scribunto/Scribunto.php";
$wgScribuntoDefaultEngine = 'luastandalone';
 
The [https://www.mediawiki.org/wiki/Extension:ParserFunctions ParserFunctions extension] comes with Mediawiki 1.18 or newer, but you still need to load the extension in LocalSettings.php:
 
wfLoadExtension( 'ParserFunctions' );
Finally, give all users execute permissions on the Lua binaries that come with the extension (note that you should choose the correct OS in the binaries directory; you can use the uname -m command to determine whether the Linux kernel is 64- or 32-bit)
Anonymous user

Navigation menu