enow.com Web Search

Search results

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

    en.wikipedia.org/wiki/Module:WikitextParser

    Wikitext to parse.-- @return Sequence of templates. function WikitextParser. getTemplates (wikitext) local templates = {} for template in wikitext: gmatch ('{%b{}}') do if wikitext: sub (1, 3) ~= '{{#' then-- skip parser functions like #if table.insert (templates, template) end end return templates end-- Get the requested template from the ...

  3. Module:Wikitext Parsing - Wikipedia

    en.wikipedia.org/wiki/Module:Wikitext_Parsing

    This module provides some functions to help with the potential complex situation involved in modules like Module:Template parameter value, which intend to process the raw wikitext of a page and want to respect nowiki tags or similar reliably. This module is designed only to be called by other modules.

  4. Module:Road data/parser - Wikipedia

    en.wikipedia.org/wiki/Module:Road_data/parser

    This module is subject to page protection.It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing.

  5. Help:Magic words - Wikipedia

    en.wikipedia.org/wiki/Help:Magic_words

    Magic words (including parser functions, variables and behavior switches) are features of wiki markup that give instructions to Wikipedia's underlying MediaWiki software. For example, magic words can suppress or position the table of contents, disable indexing by external search engines, and produce output dynamically based on the current page or on user-defined conditional logic.

  6. Wikipedia:Lua - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua

    The module is just a container for the functions, and doesn't do anything by itself. So there are two reasons that we need to input a function name: we can't run a module by itself, and without specifying a function name, Lua will not know which function it is we want to run. The simplest way to run a module from a wiki page is like this:

  7. Module:Wikitext Parsing/doc - Wikipedia

    en.wikipedia.org/wiki/Module:Wikitext_Parsing/doc

    This is a documentation subpage for Module:Wikitext Parsing. It may contain usage information, categories and other content that is not part of the original module page. This Lua module is used on approximately 17,400,000 pages, or roughly 28% of all pages .

  8. Module:Wikitext Parsing/testcases - Wikipedia

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

    --Go to the talk page to see the results of the tests--Consider making sure that other modules that rely heavily on this module (E.g. [[Module:Template parameter value]]) also pass their testcases local p = require ('Module:UnitTests') local frame = mw. getCurrentFrame local function preprocess (text, IsPrepared) local content = mw. text. unstrip (frame: preprocess (text)) if IsPrepared then ...

  9. Module:WikitextParser/testcases - Wikipedia

    en.wikipedia.org/wiki/Module:WikitextParser/test...

    Main page; Contents; Current events; Random article; About Wikipedia; Contact us