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. Module:Formatnum - Wikipedia

    en.wikipedia.org/wiki/Module:Formatnum

    -- This module is intended to replace the functionality of Template:Formatnum and related templates. local p = {} function p. main (frame) local args = frame: getParent (). args local prec = args. prec or '' local sep = args. sep or '' local number = args [1] or args. number or '' local lang = args [2] or args. lang or ''-- validate the language parameter within MediaWiki's caller frame if ...

  4. Wikipedia:Comparable Lua functions to wikitext - Wikipedia

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

    Unlike in wikicode, Lua does not use functions like #ifexpr and #expr. Add the Lua operators and functions straight into your module. Add the Lua operators and functions straight into your module. See mw:Help:Calculation for details on how #expr and mw . ext .

  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. Lua (programming language) - Wikipedia

    en.wikipedia.org/wiki/Lua_(programming_language)

    Lua 1.0 was designed in such a way that its object constructors, being then slightly different from the current light and flexible style, incorporated the data-description syntax of SOL (hence the name Lua: Sol meaning "Sun" in Portuguese, and Lua meaning "Moon").

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

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

    If it isn't a table, it's a string, a number, a boolean, a function, or a nil. Libraries are tables. string.gmatch is the "gmatch" entry in the table named by the global variable string. Arguments that you receive from MediaWiki are tables. But they're a bit special. Arrays are tables that follow a specific convention.

  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.