User contributions for Maxwells

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

21 May 2022

20 May 2022

  • 21:1921:19, 20 May 2022 diff hist +62 Template:Infobox Campaign/docNo edit summary
  • 21:1721:17, 20 May 2022 diff hist −904 Template:Infobox Campaign/docNo edit summary
  • 21:1721:17, 20 May 2022 diff hist +1,599 N Module:Parameter names exampleCreated page with "-- This module implements {{parameter names example}}. local p = {} local function makeParam(s) local lb = '{' local rb = '}' return lb:rep(3) .. s .. rb:rep(3) end local function italicize(s) return "''" .. s .. "''" end local function plain(s) return s end function p._main(args, frame) -- Find how we want to format the arguments to the template. local formatFunc if args._display == 'italics' or args._display == 'italic' then formatFunc = italic..."
  • 21:1621:16, 20 May 2022 diff hist +256 N Template:Parameter names exampleCreated page with "<includeonly>{{#invoke:Parameter names example|main}}</includeonly><noinclude> {{hatnote|Template:Generic template demo and Template:Pnex redirect here.}}<!--(hatnote more noticeable here than within Documentation)--> {{Documentation}} </noinclude>"
  • 21:1621:16, 20 May 2022 diff hist +990 Template:Infobox Campaign/docNo edit summary
  • 21:1521:15, 20 May 2022 diff hist −113 Template:Infobox Campaign/docNo edit summary
  • 21:1321:13, 20 May 2022 diff hist +15,281 N Module:TableToolsCreated page with "------------------------------------------------------------------------------------ -- TableTools -- -- -- -- This module includes a number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other Lua modules, and should not -- -- be called directly from #invoke...."
  • 21:1321:13, 20 May 2022 diff hist +5,410 N Module:ListCreated page with "-- This module outputs different kinds of lists. At the moment, bulleted, -- unbulleted, horizontal, ordered, and horizontal ordered lists are supported. local libUtil = require('libraryUtil') local checkType = libUtil.checkType local mTableTools = require('Module:TableTools') local p = {} local listTypes = { ['bulleted'] = true, ['unbulleted'] = true, ['horizontal'] = true, ['ordered'] = true, ['horizontal_ordered'] = true } function p.makeListData(listType, ar..."
  • 21:1221:12, 20 May 2022 diff hist +3,904 N Module:Lua bannerCreated page with "-- This module implements the {{lua}} template. local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local p = {} function p.main(frame) local origArgs = frame:getParent().args local args = {} for k, v in pairs(origArgs) do v = v:match('^%s*(.-)%s*$') if v ~= '' then args[k] = v end end return p._main(args) end function p._main(args)..."
  • 21:1221:12, 20 May 2022 diff hist +136 Template:Infobox Campaign/docNo edit summary
  • 21:1121:11, 20 May 2022 diff hist +38 Module:Effective protection levelNo edit summary Tag: Reverted
  • 21:1021:10, 20 May 2022 diff hist +2 Module:Effective protection levelNo edit summary Tag: Reverted
  • 21:0821:08, 20 May 2022 diff hist +110 N Template:Terminate sentenceCreated page with "{{{1}}}{{#if:{{#invoke:text|sentenceTerminated|{{{1|}}}}}||{{{2|.}}}}}<noinclude>{{documentation}}</noinclude>" current
  • 21:0721:07, 20 May 2022 diff hist +323 N Template:StrongCreated page with "<strong {{#if:{{{role|}}}|role="{{{role}}}"}} {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</strong><noinclude> {{documentation}} <!-- Add cats and interwikis to the /doc subpage, not here! --> </noinclude>" current
  • 21:0621:06, 20 May 2022 diff hist +6,156 N Module:Message box/configurationCreated page with "-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class = 'ambox-spee..."
  • 20:5020:50, 20 May 2022 diff hist +716 N Module:Documentation/styles.cssCreated page with "→‎{{pp|small=yes}}: .documentation, .documentation-metadata { border: 1px solid #a2a9b1; background-color: #ecfcf4; clear: both; } .documentation { margin: 1em 0 0 0; padding: 1em; } .documentation-metadata { margin: 0.2em 0; →‎same margin left-right as .documentation: font-style: italic; padding: 0.4em 1em; →‎same padding left-right as .documentation: } .documentation-startbox { padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bott..."
  • 20:4420:44, 20 May 2022 diff hist +46,228 N Module:Protection banner/configCreated page with "-- This module provides configuration data for Module:Protection banner. return { -------------------------------------------------------------------------------- -- -- BANNER DATA -- -------------------------------------------------------------------------------- --[[ -- Banner data consists of six fields: -- * text - the main protection text that appears at the top of protection -- banners. -- * explanation - the text that appear..."
  • 20:4420:44, 20 May 2022 diff hist +1,494 N Module:Effective protection expiryCreated page with "local p = {} -- Returns the expiry of a restriction of an action on a given title, or unknown if it cannot be known. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename.prefixedText then title = pagename elseif pagename then title = mw.title.new(pagename) else title = mw.title.getCurrentTitle() end pagename = title.prefixedText if action == 'auto..."
  • 20:4320:43, 20 May 2022 diff hist +3,438 N Module:Effective protection levelCreated page with "local p = {} -- Returns the permission required to perform a given action on a given title. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename.prefixedText then title = pagename elseif pagename then title = mw.title.new(pagename) else title = mw.title.getCurrentTitle() end pagename = title.prefixedText if action == 'autoreview' then local leve..."
  • 20:4320:43, 20 May 2022 diff hist +745 N Module:YesnoCreated page with "-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses non-ascii characters for any of "yes", "no", etc., you -- should replace "val:lower()" with "mw.ustring.lower(val)" in the -- following line. val = type(val) == 'string' and val:lower() or val if val == nil then return nil elseif val == true or val == 'yes' or val == 'y' or val =..."
  • 20:4220:42, 20 May 2022 diff hist +2,544 N Module:File linkCreated page with "-- This module provides a library for formatting file wikilinks. local yesno = require('Module:Yesno') local checkType = require('libraryUtil').checkType local p = {} function p._main(args) checkType('_main', 1, args, 'table') -- This is basically libraryUtil.checkTypeForNamedArg, but we are rolling our -- own function to get the right error level. local function checkArg(key, val, level) if type(val) ~= 'string' then error(string.format( "type error in..."
  • 20:4220:42, 20 May 2022 diff hist +307 N Module:No globalsCreated page with "local mt = getmetatable(_G) or {} function mt.__index (t, k) if k ~= 'arg' then 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 ' .. tostring(k), 2) end rawset(t, k, v) end setmetatable(_G, mt)"
  • 20:4120:41, 20 May 2022 diff hist +26,029 N Module:Protection bannerCreated page with "-- This module implements {{pp-meta}} and its daughter templates such as -- {{pp-dispute}}, {{pp-vandalism}} and {{pp-sock}}. -- Initialise necessary modules. require('Module:No globals') local makeFileLink = require('Module:File link')._main local effectiveProtectionLevel = require('Module:Effective protection level')._main local effectiveProtectionExpiry = require('Module:Effective protection expiry')._main local yesno = require('Module:Yesno') -- Lazily initialise m..."
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)