FANDOM


Lua-logo-nolabel

This contains a listing of common Lua terms.

Lua-specific terms

Table
An associative array or hash table that stores information.
Sequence
A table with numerical indexes. Behaves like an array.
Metatable
A table that "defines the behavior of the original value under certain special operations." [1]

Lua templating terms

Transclusion
A process where some or all of the content on one page, usually a template, is included in another. [2]
Module
A page that contains Lua code, which can be used on articles, templates, and other modules. Gives the raw code when transcluded.
Invocation
Allows the code stored in a module to be executed on an article or template.
Parameters
Data given to a page during transclusion, and a module during invocation. [3]
Wrapper template
An intermediate template that invokes a module when transcluded (page → template → module).
Execution limit
The amount of time that modules are allowed to run. Set to 10 seconds on FANDOM.
Memory limit
The amount of system (virtual) memory that modules are allowed to use.
Scribunto
An extension that adds the ability to use Lua code using MediaWiki.
Scribunto library
Additional code added to Lua by the MediaWiki developers.
Debug console
A text area in the module namespace where one can try out Lua code.
Preprocessing
Parsing wikitext before rendering or processing it. Generally done with frame:preprocess.
Strip marker
A unique string temporarily added by an extension to indicate that it hasn't completed processing. This is generally removed by the extension before the page is rendered.

Modules

Data module
A module that contains structured data in the form of a table. Similar to JSON.
Meta-module
A module that is meant to be used by other modules.
Global module
A module on this wiki (FANDOM Open Source Library) that can be loaded on any other.

Frame object

Frame
See Lua reference manual/Scribunto libraries.
Parent frame
A table containing data about the page or template that transcludes a page or template that in turns invokes a module.
Child frame
A table containing data about a page or template that directly invokes a module.

See also

References

  1. http://www.lua.org/manual/5.1/manual.html#2.8
  2. mw:Transclusion
  3. Help:Templates#Parameters

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.