Help:Lua

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
 WP:Lua
Project
 WT:Lua
Project talk
 Help
 
 To do
 
 Resources
en: m: mw: external
 
 • Help:Lua for beginners  • Help:Lua debugging – about debugging Lua modules  • Wikipedia:Lua style guide – standards to improve the readability of code through consistency  • Module:Sandbox provides a pseudo-namespace for experimenting with Lua modules

"Hello world"[edit]

  • Module:Bananas: The simplest possible script: say "hello world". Providing a single function with no arguments.
  • Module:BananasArgs: Demonstrates how to access and use parameters.

Documentation[edit]

How-to guides[edit]

Testing modules[edit]

Sample unit tests for the "Hello world" modules

Profiling modules and functions[edit]

  • Module:Timing – module to do some simple probing of timing issues, mostly to spot and fix load problems

Wikipedia resources[edit]