Help:Lua

Summary

WP:Lua (talk) Help To do Resources Reference manual
  • 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
    Shortcut
    • HELP:LUA

"Hello world" edit

Documentation edit

  • Scribunto Lua reference manual (Manual for the Mediawiki implementation)
  • Programming in Lua (Official book/introduction to Lua)
  • Lua tutorials at lua-users.org
  • Wiktionary:Lua on English Wiktionary: contains notes on efficiency and on dealing with Unicode and UTF-8

How-to guides edit

  • Help:Lua for beginners
  • Wikipedia:Lua style guide – standards to improve the readability of code through consistency
  • "What do converted templates look like?" (slideshow)
  • Wikipedia:Lua string functions
  • Wikipedia:Guide to Scribbling

Debugging modules edit

  • Module:SimpleDebug - It allows to collect and view the values of one or several variables and/or customized labels of several points of a lua program.

Testing modules edit

Profiling modules and functions edit

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

Patterns edit

  • mw:Extension:Scribunto/Lua_reference_manual#Patterns
  • mw:Extension:Scribunto/Lua_reference_manual#Ustring_patterns
  • PatternsTutorial
  • REGEX (as applied by WP:AWB): WP:REGEX

Wikipedia resources edit

  • Special:PrefixIndex/Module:Sandbox - allows you to work on a set of files within a sandbox prefix.