enow.com Web Search

Search results

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

    en.wikipedia.org/wiki/Module:Repr

    value: The value to convert to a string. This can be any Lua value. This parameter is optional, and defaults to nil. options: A table of options. This parameter is optional. The following options can be specified in the options table: pretty: If true, output the string in "pretty" format (as in pretty-printing). This will add new lines and ...

  3. Module:Convert - Wikipedia

    en.wikipedia.org/wiki/Module:Convert

    This Lua module is used on approximately 1,300,000 pages, or roughly 2% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox.

  4. Module:Yesno - Wikipedia

    en.wikipedia.org/wiki/Module:Yesno

    Although the empty string usually evaluates to false in wikitext, it evaluates to true in Lua. This module prefers the Lua behaviour over the wikitext behaviour. If treating the empty string as false is important for your module, you will need to convert empty strings to a value that evaluates to false before passing them to this module.

  5. Help:Lua for beginners - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_for_beginners

    Note: Lua patterns are not regular expressions in the traditional POSIX sense, and they are not even a subset of regular expressions. But they share many constructs with regular expressions (more below). Lua patterns are used to define, find and handle a pattern in a string. It can do the common search and replace action in a text, but it has ...

  6. Wikipedia:Lua/Resources - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua/Resources

    Wikipedia:Lua string functions – string performance considerations and limits; Wikipedia:Guide to Scribbling – how to write templates that use Scribunto/Lua; Wikipedia:Guide to Scribbling/Programmers' Quick start Guide to Lua – a list of essential points; Wikipedia:Comparable Lua functions to wikitext – how to convert wikitext to Lua

  7. Wikipedia:Lua string functions - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua_string_functions

    The string-search functions in Lua script can run extremely fast, comparing millions of characters per second. For example, a search of a 40,000-character article text, for 99 separate words (passed as 99 parameters in a template), ran within one second of Lua CPU clock time.

  8. Boolean data type - Wikipedia

    en.wikipedia.org/wiki/Boolean_data_type

    Lua has a Boolean data type, but non-Boolean values can also behave as Booleans. The non-value nil evaluates to false, whereas every other data type value evaluates to true. This includes the empty string "" and the number 0, which are very often considered false in other languages.

  9. Wikipedia : Comparable Lua functions to wikitext

    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. See mw:Help:Calculation for details on how #expr and mw. ext.