Search results

Jump to navigation Jump to search
  • Module:InfoboxImage (category Modules subject to page protection)
    result = "[[File:" .. image; if page ~= "" and page ~= nil then result = result .. "|page=" .. page; end if size ~= "" and...
    10 KB (1,295 words) - 22:45, 31 March 2022
  • Module:Infobox (category Modules subject to page protection)
    This function adds them to the module output. It is not affected by -- args.decat because this module should not prevent module-external categories -- from...
    20 KB (2,611 words) - 01:59, 5 January 2023
  • Module:Wikidata (category Modules subject to page protection)
    end end -- returns the page id (Q...) of the current page or nothing of the page is not connected to Wikidata function p.pageId(frame) return mw.wikibase...
    34 KB (5,013 words) - 19:25, 29 June 2023
  • Module:Message box (category Modules subject to page protection)
    a talk page, make a link to that page. Else -- assume that it's a section heading, and make a link to the talk -- page of the current page with that...
    18 KB (2,376 words) - 12:12, 24 September 2023
  • Module:Arguments (category Modules subject to page protection)
    val) -- This function is called when a module tries to add a new value to the -- args table, or tries to change an existing value. if type(key) ==...
    10 KB (1,447 words) - 23:20, 22 November 2022
  • Module:No globals (category Modules subject to page protection)
    error('Tried to read nil global ' .. tostring(k), 2) end return nil end function mt.__newindex(t, k, v) if k ~= 'arg' then error('Tried to write global...
    307 bytes (54 words) - 23:20, 22 November 2022
  • Module:Yesno (category Modules subject to page protection)
    consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses...
    745 bytes (116 words) - 23:20, 22 November 2022
  • Module:Color contrast (category Modules subject to page protection)
    return blank return '' end -- This exports the function for use in other modules. -- The colour is passed as a string. function p._lum(color) return color2lum(color)...
    7 KB (1,260 words) - 19:02, 10 August 2020
  • Module:Navbar (category Modules subject to page protection)
    talkpage = title.talkPageTitle and title.talkPageTitle.fullText or '' -- TODO: Get link_descriptions and show into the configuration module. -- link_descriptions...
    5 KB (727 words) - 18:34, 10 October 2023
  • Module:Asbox (category Modules subject to page protection)
    templatepage(frame, page) args, page = p:init(frame, page) local tStubDoc = mw.title.new'Template:Stub documentation' local pageDoc = page:subPageTitle('doc')...
    12 KB (1,737 words) - 12:12, 24 September 2023
  • Module:Sports table (category Modules subject to page protection)
    top_pos - 1 -- Default to 0 at start, but higher number needed to skip certain entries -- Load modules local yesno = require('Module:Yesno') -- Load style...
    24 KB (3,771 words) - 19:02, 10 August 2020
  • Module:Navbox (category Modules subject to page protection)
    item:sub(1, 2) == '{|' then -- Applying nowrap to lines in a table does not make sense. -- Add newlines to compensate for trim of x in |parm=x in a template...
    17 KB (2,481 words) - 17:42, 24 September 2023
  • Module:ISO 3166 (category Modules subject to page protection)
    -- to enable us to replicate the current functioning of Country extract, we need to deal with: -- 2 {{<name>}} DONE! -- 3 [[<name>]] DONE! -- 4 [[<name>|<junk>]]...
    9 KB (1,240 words) - 19:21, 10 August 2020
  • Module:EditAtWikidata (category Modules subject to page protection)
    -- Module to display an icon with a tooltip such as "Edit this at Wikidata". -- Icon will be linked to the Wikidata entry for the article where this is...
    2 KB (326 words) - 14:11, 11 September 2019
  • Module:WikidataIB (category Modules subject to page protection)
    ------------- -- pageId returns the page id (entity ID, Qnnn) of the current page -- returns nothing if the page is not connected to Wikidata --------...
    139 KB (18,036 words) - 19:24, 29 June 2023
  • Module:WikidataCheck (category Modules subject to page protection)
    " not in Wikidata]]" -- bad. Bot needs to add the property end for i, v in ipairs(hasProp) do -- Now we try to iterate over all possible values? propValue...
    2 KB (238 words) - 22:29, 14 August 2020
  • Module:No globals/doc/en (category Modules subject to page protection)
    bad argument #1 to "get" (not a valid title). Lua error: bad argument #1 to "get" (not a valid title). [[Category:Module documentation pages{{#translation:}}]]...
    868 bytes (56 words) - 23:20, 22 November 2022
  • Module:Protected edit request (category Modules subject to page protection)
    new(protectionType, args) local obj = {} obj.args = args setmetatable(obj, box) obj.tmboxArgs = {} -- Used to store arguments to be passed to tmbox...
    3 KB (362 words) - 19:02, 10 August 2020
  • Module:Message box/configuration (category Modules subject to page protection)
    'Merge-split-transwiki default.svg' }, protection = { class = 'ambox-protection', image = 'Semi-protection-shackle-keyhole.svg' }, notice =...
    6 KB (548 words) - 22:41, 23 November 2023
  • Module:Message box/configuration/doc/en (category Modules subject to page protection)
    <languages /> This module contains configuration data for Module:Message box. [[Category:Module documentation pages{{#translation:}}]]...
    5 KB (13 words) - 23:20, 22 November 2022
View (previous 20 | ) (20 | 50 | 100 | 250 | 500)