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)

20 May 2022

  • 20:1320: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...."
  • 20:1320: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..."
  • 20:1220: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)..."
  • 20:1220:12, 20 May 2022 diff hist +136 Template:Infobox Campaign/docNo edit summary
  • 20:1120:11, 20 May 2022 diff hist +38 Module:Effective protection levelNo edit summary Tag: Reverted
  • 20:1020:10, 20 May 2022 diff hist +2 Module:Effective protection levelNo edit summary Tag: Reverted
  • 20:0820:08, 20 May 2022 diff hist +110 N Template:Terminate sentenceCreated page with "{{{1}}}{{#if:{{#invoke:text|sentenceTerminated|{{{1|}}}}}||{{{2|.}}}}}<noinclude>{{documentation}}</noinclude>" current
  • 20:0720: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
  • 20:0620: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..."
  • 19:5019: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..."
  • 19:4419: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..."
  • 19:4419: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..."
  • 19:4319: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..."
  • 19:4319: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 =..."
  • 19:4219: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..."
  • 19:4219: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)"
  • 19:4119: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..."
  • 19:4119:41, 20 May 2022 diff hist +76 N Template:PpCreated page with "{{#invoke:Protection banner|main}}<noinclude> {{documentation}} </noinclude>"
  • 19:3919:39, 20 May 2022 diff hist +17,433 N Module:Documentation/configCreated page with "---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------..."
  • 19:3819:38, 20 May 2022 diff hist +10,054 N Module:ArgumentsCreated page with "-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val) == 'string'..."
  • 19:3719:37, 20 May 2022 diff hist +35,027 N Module:DocumentationCreated page with "-- This module implements {{documentation}}. -- Get required modules. local getArgs = require('Module:Arguments').getArgs -- Get the config table. local cfg = mw.loadData('Module:Documentation/config') local p = {} -- Often-used functions. local ugsub = mw.ustring.gsub ---------------------------------------------------------------------------- -- Helper functions -- -- These are defined as local functions, but are made available in the p -- table for testing purpos..."
  • 19:3719:37, 20 May 2022 diff hist +151 N Template:DocumentationCreated page with "{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> <!-- Add categories to the /doc subpage --> </noinclude>" current
  • 19:3619:36, 20 May 2022 diff hist +18,956 N Module:Message boxCreated page with "-- This is a meta-module for producing message box templates, including -- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}. -- Load necessary modules. require('Module:No globals') local getArgs local yesno = require('Module:Yesno') -- Get a language object for formatDate and ucfirst. local lang = mw.language.getContentLanguage() -- Define constants local CONFIG_MODULE = 'Module:Message box/configuration' local DEMOSPACES = {talk = 'tmbox'..."
  • 19:3619:36, 20 May 2022 diff hist +145 N Template:MboxCreated page with "{{#invoke:Message box|mbox}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
  • 19:3519:35, 20 May 2022 diff hist +1,694 N Template:Documentation subpageCreated page with "<includeonly><!-- -->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}} | <!--(this template has been transcluded on a /doc or /{{{override}}} page)--> </includeonly><!-- -->{{#ifeq:{{{doc-notice|show}}} |show | {{Mbox | type = notice | style = margin-bottom:1.0em; | image = 40px|alt=|link= | text = {{strong|This is a documentation..."
  • 19:3519:35, 20 May 2022 diff hist −310 Template:Infobox Campaign/docReplaced content with "{{Documentation subpage}}" Tag: Replaced
  • 19:2919:29, 20 May 2022 diff hist +253 Template:Infobox Campaign/docNo edit summary
  • 19:2719:27, 20 May 2022 diff hist −5 Template:Infobox Campaign/docNo edit summary
  • 19:2719:27, 20 May 2022 diff hist −2 Template:Infobox Campaign/docNo edit summary
  • 19:2519:25, 20 May 2022 diff hist −10 Template:Infobox Campaign/docNo edit summary
  • 19:2519:25, 20 May 2022 diff hist +99 N Template:Infobox Campaign/docCreated page with "{{Infobox Campaign }} Template:Infobox Adventure This template is used for campaign information"
  • 19:2319:23, 20 May 2022 diff hist −1 Template:Infobox testNo edit summary Tag: Manual revert
  • 19:2319:23, 20 May 2022 diff hist +1 Template:Infobox testNo edit summary Tag: Reverted
  • 19:1819:18, 20 May 2022 diff hist −4 EkagiNo edit summary
  • 19:1819:18, 20 May 2022 diff hist +1 Template:Infobox testNo edit summary
  • 19:1819:18, 20 May 2022 diff hist −40 EkagiNo edit summary
  • 19:1719:17, 20 May 2022 diff hist 0 EkagiNo edit summary
  • 19:1619:16, 20 May 2022 diff hist +4 N Category:Lawful Good DeitiesCreated page with "test" current
  • 19:1619:16, 20 May 2022 diff hist +6 EkagiNo edit summary
  • 19:1619:16, 20 May 2022 diff hist +36 EkagiNo edit summary
  • 19:1419:14, 20 May 2022 diff hist +171 EkagiNo edit summary
  • 19:1419:14, 20 May 2022 diff hist +38 Template:Infobox testNo edit summary
  • 19:1219:12, 20 May 2022 diff hist +4 EkagiNo edit summary Tag: Manual revert
  • 19:1219:12, 20 May 2022 diff hist −931 Template:Infobox testNo edit summary
  • 19:1119:11, 20 May 2022 diff hist −4 EkagiNo edit summary Tags: Manual revert Reverted
  • 19:1119:11, 20 May 2022 diff hist −1 Template:Infobox testNo edit summary
  • 19:1019:10, 20 May 2022 diff hist +4 EkagiNo edit summary Tags: Manual revert Reverted
  • 19:1019:10, 20 May 2022 diff hist −2 Template:Infobox testNo edit summary
  • 19:0919:09, 20 May 2022 diff hist −4 EkagiNo edit summary Tags: Manual revert Reverted
  • 19:0819:08, 20 May 2022 diff hist +4 EkagiNo edit summary Tag: Reverted
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)