Wikipedia:Lua

Wikipedia data structure
Namespaces
Subject namespaces Talk namespaces
0 (Main/Article) Yɛltɔɣa 1
2 Ŋun su Ŋun su yɛltɔɣa 3
4 Wikipedia Wikipedia yɛltɔɣa 5
6 Lahabali kɔligu Lahabali kɔligu yɛltɔɣa 7
8 MiidiyaWiki MiidiyaWiki yɛltɔɣa 9
10 Tɛmplet Tɛmplet yɛltɔɣa 11
12 Sɔŋsim Sɔŋsim yɛltɔɣa 13
14 Pubu Pubu yɛltɔɣa 15
100 [[Wikipedia:Portal|]] 101
118 [[Wikipedia:Drafts|]] 119
710 TimedText TimedText talk 711
828 Module Module talk 829
Deprecated
2300 [[Wikipedia:Gadget|]] 2301
2302 [[Wikipedia:Gadget|]] 2303
Not installed
90 Thread Thread talk 91
92 Summary Summary talk 93
108 Book Book talk 109
442 Course Course talk 443
444 Institution Institution talk 445
446 Education Program Education Program talk 447
2600 Topic 2601
Virtual namespaces
-1 Diŋ'gahim
-2 Miidiya
Current list (API call)

Lua is a programming language that is available via the Scribunto MediaWiki extension on the English Wikipedia. Since February 2013, Lua code can be embedded into wiki templates by employing the "{{#invoke:}}" functionality of Scribunto. This extension supports Lua 5.1 as of October 2022.

The Lua source code is stored in pages called modules (e.g., Module:Example). These individual modules are then invoked (by code {{#invoke:<Module name>|<Function name>|(optional) param1 | param2...}}). Example:

Wikitext Result
{{#invoke:Example|hello}} Script error: No such module "Example".

Wikipedia:Lua

Dodaje.pl - Ogłoszenia lokalne