Extension:LuaCollections

MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
LuaCollections
Release status: experimental
Implementation API
Description Provides a few basic collections for Lua.
Author(s)
  • John Erling Blad (Jebladtalk)
Compatibility policy Master maintains backward compatibility.
MediaWiki
Database changes No
License GNU General Public License 2.0 or later
Download
README, LDoc

Check usage and version matrix.

LuaCollections provides a few basic collections and utility tools for Lua.

InstallationEdit

LuaCollections are supposed to be used together with Scribunto extension, but does not depend upon specific features from the environment.

  • Download and place the file(s) in a directory called LuaCollections in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'LuaCollections' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

DevelopmentEdit

For recreating the Vagrant-based development environment, see LuaCollections: Topics/Vagrant.

See alsoEdit