Help:Lua: Difference between revisions
Appearance
Content deleted Content added
more on "Hello worlds" examples -- aren't we defying the point? ;-) |
mNo edit summary |
||
Line 22: | Line 22: | ||
* [[Module:BananasArgs/testcases]] – [[Module talk:BananasArgs/testcases|Results]] |
* [[Module:BananasArgs/testcases]] – [[Module talk:BananasArgs/testcases|Results]] |
||
== Testing |
== Testing modules == |
||
* [[Module:UnitTests]] - used to power many module unit tests, which are usually found by the name "Module:(your-module-name)/tests" |
* [[Module:UnitTests]] - used to power many module unit tests, which are usually found by the name "Module:(your-module-name)/tests" |
||
Revision as of 18:58, 24 March 2013
Template:WikiProject Lua/header
Documentation
- Scribunto Lua reference manual (Manual for the Mediawiki implementation)
- Programming in Lua (Lua.org manual for version 5.2)
How-to guides
- Wikipedia:Lua style guide – standards to improve the readability of code through consistency
- "What do converted templates look like?" (slideshow)
- Help:Lua debugging – a how-to guide about debugging Lua modules
- Help:Lua for beginners
- Wikipedia:Lua string functions
"Hello world" demonstration modules
- Module:Bananas: The simplest possible script, providing a single function with no arguments.
- Module:BananasArgs: Demonstrates how to access and use parameters.
And:
- Testing the 'Hello world" modules
Testing modules
- Module:UnitTests - used to power many module unit tests, which are usually found by the name "Module:(your-module-name)/tests"
Wikipedia resources
- Special:PrefixIndex/Module:Sandbox - allows you to work on a set of files within a sandbox prefix.
- Lua (mainspace article)