Difference between revisions of "Lua"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
See https://en.wikipedia.org/wiki/Wikipedia:Lua | See https://en.wikipedia.org/wiki/Wikipedia:Lua | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Programming]] | [[Category:Programming]] | ||
[[Category:Wiki]] | [[Category:Wiki]] |
Revision as of 13:21, 21 April 2023
Lua | |
---|---|
Image shows: | Lua programming language |
Summary | |
Description: | Lua is used to give template authors more functionality than available through Parser functions. The debate to use JavaScript or Lua was settled in 2012. Lua can be used to analyze data, calculate expressions, and format results using functions stored in so-called 'modules' in the wiki. |
More |
Lua is a programming language that is now available, via the Scribunto MediaWiki extension, on the English Wikipedia (and on this wiki). Lua code can now be embedded into wiki templates by employing the "{{#invoke:}}" functionality of the Scribunto MediaWiki extension.
See the Lua Reference Manual for methods like mw.loadData
.
Lua was installed on the English Wikipedia in February 2013, after testing on mediawiki.org and Wikimedia test wikis. In April 2014 it was installed here.