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

  • 09:2909:29, 21 May 2022 diff hist +485‎ MediaWiki:Common.css ‎No edit summary
  • 08:5508:55, 21 May 2022 diff hist +26,038‎ N Module:Text ‎ Created page with "local Text = { serial = "2017-11-01", suite = "Text" } --[=[ Text utilities ]=] -- local globals local PatternCJK = false local PatternCombined = false local PatternLatin = false local PatternTerminated = false local QuoteLang = false local QuoteType = false local RangesLatin = false local SeekQuote = false local function factoryQuote() -- Create quote definitions QuoteLang = { af = "bd",..." current

20 May 2022

  • 20:1920:19, 20 May 2022 diff hist +62‎ Template:Infobox Campaign/doc ‎No edit summary
  • 20:1720:17, 20 May 2022 diff hist −904‎ Template:Infobox Campaign/doc ‎No edit summary
  • 20:1720:17, 20 May 2022 diff hist +1,599‎ N Module:Parameter names example ‎ Created 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..."
  • 20:1620:16, 20 May 2022 diff hist +256‎ N Template:Parameter names example ‎ Created 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>"
  • 20:1620:16, 20 May 2022 diff hist +990‎ Template:Infobox Campaign/doc ‎No edit summary
  • 20:1520:15, 20 May 2022 diff hist −113‎ Template:Infobox Campaign/doc ‎No edit summary
  • 20:1320:13, 20 May 2022 diff hist +15,281‎ N Module:TableTools ‎ Created 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:List ‎ Created 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 banner ‎ Created 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/doc ‎No edit summary
  • 20:1120:11, 20 May 2022 diff hist +38‎ Module:Effective protection level ‎No edit summary Tag: Reverted
  • 20:1020:10, 20 May 2022 diff hist +2‎ Module:Effective protection level ‎No edit summary Tag: Reverted
  • 20:0820:08, 20 May 2022 diff hist +110‎ N Template:Terminate sentence ‎ Created page with "{{{1}}}{{#if:{{#invoke:text|sentenceTerminated|{{{1|}}}}}||{{{2|.}}}}}<noinclude>{{documentation}}</noinclude>" current
  • 20:0720:07, 20 May 2022 diff hist +323‎ N Template:Strong ‎ Created 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/configuration ‎ Created 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.css ‎ Created 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/config ‎ Created 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 expiry ‎ Created 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 level ‎ Created 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:Yesno ‎ Created 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 link ‎ Created 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 globals ‎ Created 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 banner ‎ Created 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:Pp ‎ Created page with "{{#invoke:Protection banner|main}}<noinclude> {{documentation}} </noinclude>"
  • 19:3919:39, 20 May 2022 diff hist +17,433‎ N Module:Documentation/config ‎ Created 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:Arguments ‎ Created 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:Documentation ‎ Created 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:Documentation ‎ Created 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 box ‎ Created 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:Mbox ‎ Created 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 subpage ‎ Created 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/doc ‎ Replaced content with "{{Documentation subpage}}" Tag: Replaced
  • 19:2919:29, 20 May 2022 diff hist +253‎ Template:Infobox Campaign/doc ‎No edit summary
  • 19:2719:27, 20 May 2022 diff hist −5‎ Template:Infobox Campaign/doc ‎No edit summary
  • 19:2719:27, 20 May 2022 diff hist −2‎ Template:Infobox Campaign/doc ‎No edit summary
  • 19:2519:25, 20 May 2022 diff hist −10‎ Template:Infobox Campaign/doc ‎No edit summary
  • 19:2519:25, 20 May 2022 diff hist +99‎ N Template:Infobox Campaign/doc ‎ Created 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 test ‎No edit summary Tag: Manual revert
  • 19:2319:23, 20 May 2022 diff hist +1‎ Template:Infobox test ‎No edit summary Tag: Reverted
  • 19:1819:18, 20 May 2022 diff hist −4‎ Ekagi ‎No edit summary
  • 19:1819:18, 20 May 2022 diff hist +1‎ Template:Infobox test ‎No edit summary
  • 19:1819:18, 20 May 2022 diff hist −40‎ Ekagi ‎No edit summary
  • 19:1719:17, 20 May 2022 diff hist 0‎ Ekagi ‎No edit summary
  • 19:1619:16, 20 May 2022 diff hist +4‎ N Category:Lawful Good Deities ‎ Created page with "test" current
  • 19:1619:16, 20 May 2022 diff hist +6‎ Ekagi ‎No edit summary
  • 19:1619:16, 20 May 2022 diff hist +36‎ Ekagi ‎No edit summary
  • 19:1419:14, 20 May 2022 diff hist +171‎ Ekagi ‎No edit summary
  • 19:1419:14, 20 May 2022 diff hist +38‎ Template:Infobox test ‎No edit summary
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)