Fandom Developers Wiki
Advertisement
Lua-logo-nolabel

This contains a listing of common lua terms.

Lua specific terms

  • Lua tables - tables that store information (see Hash tables)
  • Arrays - a numbered list stored in a lua table
  • Meta-tables - tables that store "allow us to change the behavior of a table"[1]

Lua templating terms

  • Invoking - refers to using a lua module in a page/template
  • Execution limit - refers to a 10 second limit for modules to run
  • Module - a page that contains lua code that can be executed in a template/page
  • Wrapper template - template that invokes a module
  • Scribunto library - refers to libraries added to lua by mediawiki developers (see Scribunto_libraries)

Module

  • Meta-Module - a module that is meant to be used by other modules
  • Parameters- are template parameters that can be used in a lua module [2]

Frame

  • Parent frame : a table containing data about the page/template that transcludes a page/template that in turns invokes a module
  • Child frame : a table containing data about a page/template that directly invokes a module

See also

References

  1. http://www.lua.org/pil/13.html
  2. Help:Templates#Parameters
Advertisement