विकिपीडिया:लुआ: रिवीजन सभ के बीचा में अंतर
Content deleted Content added
छो MZMcBride moved page Wikipedia:Lua in Wikipedia to Wikipedia:Lua over redirect: shorter title seems more appropriate |
better |
||
लाइन 1:
{{
[[Lua (programming language)|Lua]] is a programming language that's now available, via the [[mw:Extension:Scribunto|Scribunto]] MediaWiki extension, on the English Wikipedia. Lua code can now be embedded into wiki templates by employing the "<nowiki>{{#invoke:}}</nowiki>" functionality of the Scribunto MediaWiki extension.
The Lua [[source code]] is stored in pages called modules (e.g., [[Module:Bananas]]). These individual modules are then invoked (by "<nowiki>{{#invoke:}}</nowiki>") on template pages (e.g., [[Module talk:Bananas]] uses the code <nowiki>{{#invoke:Bananas|hello}}</nowiki> to print the text "Hello, world!").
== History ==
Sordid history. qif, ParserFunctions, [[mw:Extension:Lua]], wiki scripting language debated (JavaScript v. Lua), [[mw:Extension:WikiScripts]], Tim writes Scribunto with initial support for Lua.
== About Lua ==
Line 18 ⟶ 26:
A sample of Lua is highlighted by tag "<syntaxhighlight lang="lua">...</syntaxhighlight>" placed around the Lua source code. To view some more complex examples of Lua, see article: "[[Lua (programming language)]]".
==
* [[m:Lua]] – "central" page at Meta-Wiki
▲Although discussed for years, Lua was installed in 2012 for testing on test2.wikipedia.org, with open invitation to all editors to experiment with developing Lua modules. A central page was developed on meta:
* [[mw:Lua]] – index at mediawiki.org
:* [[:Category:Lua-based templates]]▼
; English Wikipedia-specific resources
* [[Special:PrefixIndex/Module:]] – tracking of Lua modules can be done by using [[Special:PrefixIndex]]
|