enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Module:Yesno - Wikipedia

    en.wikipedia.org/wiki/Module:Yesno

    While Lua allows the true and false boolean values, wikicode templates can only express boolean values through strings such as "yes", "no", etc. This module processes these kinds of strings and turns them into boolean input for Lua to process. It also returns nil values as nil, to allow for distinctions between nil and false. The module also ...

  3. Wikipedia : Guide to Scribbling/Programmers' Quick start ...

    en.wikipedia.org/wiki/Wikipedia:Guide_to...

    Only false and nil are false. Even "" is true. Tables can have both numeric and string entries. The two don't overlap. t [1] is distinct from t ["1"]. Uninitialized variables and nonexistent fields in tables are nil. or and and both have shortcut evaluation. = is assignment, == is equality comparison. not is boolean negation, but ~= is ...

  4. Module:Template test case - Wikipedia

    en.wikipedia.org/wiki/Module:Template_test_case

    This module provides a framework for making templates which produce a template test case.While test cases can be made manually, using Lua-based templates such as the ones provided by this module has the advantage that the template arguments only need to be input once, thus reducing the effort involved in making test cases and reducing the possibility of errors in the input.

  5. Help:Lua for beginners - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_for_beginners

    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 ...

  6. Help:Lua debugging - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_debugging

    The message "Script error" only occurs when the test data triggers an invalid section of Lua code, so an untested module could contain many hidden bugs, only revealed when broader test data activates more areas of the source code, or uses more internal functions.

  7. Module:Check for unknown parameters - Wikipedia

    en.wikipedia.org/wiki/Module:Check_for_unknown...

    Module:Check for unknown parameters is used to check for uses of unknown parameters in a template or module. It may be appended to a template at the end or called directly from a module. It may be appended to a template at the end or called directly from a module.

  8. Module:LuaCall - Wikipedia

    en.wikipedia.org/wiki/Module:LuaCall

    The functioncall is written as some.function.name(a,b,c) where some.function.name means something in the Extension:Scribunto/Lua reference manual and a,b,c are the arbitrary variable names you've chosen.

  9. Module:Mw lang - Wikipedia

    en.wikipedia.org/wiki/Module:Mw_lang

    This Lua module is used on approximately 87,000 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox . Consider discussing changes on the talk page before implementing them.