Search results
Results From The WOW.Com Content Network
This help-page, Help:Lua debugging, explains issues of writing Lua script and debugging the source code, to remove errors or improve performance. Because Lua is a "semi-compiled" interpreted language, it does not prescreen for all common syntax errors, nor detect misspelled variables, which are only found at runtime when seeing the "Script ...
Almost any problem which occurs when running a Lua module will be reported as "Script error" during program execution, such as invalid data or a misspelled variable name in the Lua source code.
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
Lua patterns deliberately lack the most complex regular expression constructs (to avoid bloating the Lua code base), where many other computer languages or libraries use a more complete set. Lua patterns are not even a subset of regular expressions, as there are also discrepancies, like Lua using the escape character % instead of \, , and ...
No protection is treated as zero cfg ['protection_hierarchy'] = {autoconfirmed = 1, extendedconfirmed = 2, templateeditor = 3, sysop = 4}-- Padlock pattern: Lua pattern to search on protected stylesheets for, or nil-- to disable padlock check. cfg ['padlock_pattern'] = '{{pp-'-- Missing padlock category: this category is added if a protected ...
Whether to disable categorization. Default 0 Auto value 1: Boolean: optional: Wish? wish: Whether this template is a candidate for conversion to Lua. Default 0 Auto value 1: Boolean: optional: Custom Category: category: Main category to put on pages using this template, without namespace prefix. Default Lua-based templates: String: optional
What links here; Related changes; Upload file; Special pages; Permanent link; Page information
Banner for templates that rely on Lua modules Template parameters Parameter Description Type Status Module 1 1 Name of the main module used in the template. Use multiple parameters to specify multiple modules. Page name required Module 2 2 Name of the second module. Page name optional Module 3 3 Name of the third module. Page name optional Module 4 4 Name of the fourth module. Page name ...