Extension:LuaLexer

From Linux Web Expert

MediaWiki extensions manual
LuaLexer
Release status: unmaintained
Implementation API
Description Provides Lua lexer for Scribunto.
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
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the LuaLexer extension

LuaLexer provides a lexer for Scribunto modules.

Installation

LuaLexer depends on modules from the Scribunto extensions.

  • <translate> Download and place the file(s) in a directory called <tvar name=name>LuaLexer</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'LuaLexer' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Usage

For further help, see the generated LuaLexer documentation.

Development

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

See also

External links