User contributions for Simon

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

24 June 2023

  • 23:5423:54, 24 June 2023 diff hist +1,083 N Template:Lead too shortCreated page with "{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B= <!--{{Lead too short}} begin-->{{Ambox | name = Lead too short | subst = <includeonly>{{subst:substcheck}}</includeonly> | type = content | image = 40px | class = ambox-lead_too_short | issue = This article's lead section '''may be too short to adequately summarize the key points'''. | fix = Please consider ex..." current
  • 23:5423:54, 24 June 2023 diff hist +23,596 N Module:TextCreated page with "local yesNo = require("Module:Yesno") local Text = { serial = "2022-07-21", 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 initLatinData() if not RangesLatin then..." current
  • 23:5423:54, 24 June 2023 diff hist +110 N Template:Terminate sentenceCreated page with "{{{1}}}{{#if:{{#invoke:text|sentenceTerminated|{{{1|}}}}}||{{{2|.}}}}}<noinclude>{{documentation}}</noinclude>" current
  • 23:5323:53, 24 June 2023 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
  • 23:5323:53, 24 June 2023 diff hist +2,295 N Module:Transclusion countCreated page with "local p = {} function p.fetch(frame) local template = nil local return_value = nil -- Use demo parameter if it exists, otherswise use current template name local namespace = mw.title.getCurrentTitle().namespace if frame.args["demo"] and frame.args["demo"] ~= "" then template = mw.ustring.gsub(frame.args["demo"],"^[Tt]emplate:","") elseif namespace == 10 then -- Template namespace template = mw.title.getCurrentTitle().text elseif namespace == 828 then -- Modu..." current
  • 23:5323:53, 24 June 2023 diff hist +6,691 N Module:High-useCreated page with "local p = {} -- _fetch looks at the "demo" argument. local _fetch = require('Module:Transclusion_count').fetch local yesno = require('Module:Yesno') function p.num(frame, count) if count == nil then if yesno(frame.args['fetch']) == false then if (frame.args[1] or '') ~= '' then count = tonumber(frame.args[1]) end else count = _fetch(frame) end end -- Build output string local return_value = "" if count == nil then if frame.args[1] == "risk" then..." current
  • 23:5323:53, 24 June 2023 diff hist +270 N Template:High-useCreated page with "{{#invoke:High-use|main|1={{{1|}}}|2={{{2|}}}|info={{{info|}}}|demo={{{demo|}}}|form={{{form|}}}|expiry={{{expiry|}}}|system={{{system|}}}}}<noinclude> {{Documentation}} <!-- Add categories to the /doc subpage; interwiki links go to Wikidata, thank you! --> </noinclude>" current
  • 23:5223:52, 24 June 2023 diff hist +415 Module:Hatnote/styles.cssNo edit summary
  • 23:5223:52, 24 June 2023 diff hist 0 N Module:Hatnote/styles.cssSimon created the page Module:Hatnote/styles.css using a non-default content model "CSS"
  • 23:5223:52, 24 June 2023 diff hist 0 Template:Hidden begin/styles.cssSimon changed the content model of the page Template:Hidden begin/styles.css from "wikitext" to "CSS" current Tag: content model change
  • 23:5123:51, 24 June 2023 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..." current
  • 23:5023:50, 24 June 2023 diff hist 0 N Module:Documentation/styles.cssSimon created the page Module:Documentation/styles.css using a non-default content model "CSS"
  • 23:4923:49, 24 June 2023 diff hist +180 N Template:File linkCreated page with "<includeonly>{{safesubst:#invoke:File link|main}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 23:4923:49, 24 June 2023 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..." current
  • 23:4823:48, 24 June 2023 diff hist +46,218 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..." current
  • 23:4823:48, 24 June 2023 diff hist +26,018 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('strict') 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 modules and..." current
  • 23:4823:48, 24 June 2023 diff hist +76 N Template;ppCreated page with "{{#invoke:Protection banner|main}}<noinclude> {{documentation}} </noinclude>" current
  • 23:4723:47, 24 June 2023 diff hist +6,474 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..." current
  • 23:4723:47, 24 June 2023 diff hist +18,580 N Module:Message boxCreated page with "require('strict') local getArgs local yesno = require('Module:Yesno') local lang = mw.language.getContentLanguage() local CONFIG_MODULE = 'Module:Message box/configuration' local DEMOSPACES = {talk = 'tmbox', image = 'imbox', file = 'imbox', category = 'cmbox', article = 'ambox', main = 'ambox'} -------------------------------------------------------------------------------- -- Helper functions ---------------------------------------------------------------------------..." current
  • 23:4623:46, 24 June 2023 diff hist +153 N Template:MboxCreated page with "{{#invoke:Message box|mbox}}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! --> </noinclude>" current
  • 23:4623:46, 24 June 2023 diff hist +1,697 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..." current
  • 23:4623:46, 24 June 2023 diff hist +256 N Template:Hidden endCreated page with "<includeonly></div></div></includeonly><noinclude> {{hatnote|Templates {{noredirect|Template:End hidden|End hidden}} and {{noredirect|Template:End hidden section|End hidden section}} redirect here.}} {{Documentation|Template:Hidden begin/doc}} </noinclude>" current
  • 23:4523:45, 24 June 2023 diff hist +242 N Template:Hidden begin/styles.cssCreated page with "→‎{{pp-template}}: .hidden-begin { box-sizing: border-box; width: 100%; padding: 5px; border: none; font-size: 95%; } .hidden-title { font-weight: bold; line-height: 1.6; text-align: left; } .hidden-content { text-align: left; }"
  • 23:4523:45, 24 June 2023 diff hist +901 N Template:Hidden beginCreated page with "<includeonly><templatestyles src="Template:Hidden begin/styles.css"/><div class="hidden-begin mw-collapsible {{#ifeq:{{{showhide|{{{toggle}}}}}}|left|mw-collapsible-leftside-toggle}} {{#if:{{{expanded|}}}||mw-collapsed}} {{{class|}}}" style="{{#if:{{{width|}}}|width:{{{width}}};}} {{#if:{{{border|}}}|border:{{{border}}};}} {{#if:{{{bgcolor|}}}|background-color:{{{bgcolor}}};}} {{{style|}}}"><!-- --><div class="hidden-title" style="{{#if:{{{ta1|}}}|text-align:{{{ta1}}};}}..." current
  • 23:4523:45, 24 June 2023 diff hist +608 N Template:ParaCreated page with "<code class="tpl-para" style="word-break:break-word;{{SAFESUBST:<noinclude />#if:{{{plain|}}}|border: none; background-color: inherit;}} {{SAFESUBST:<noinclude />#if:{{{plain|}}}{{{mxt|}}}{{{green|}}}{{{!mxt|}}}{{{red|}}}|color: {{SAFESUBST:<noinclude />#if:{{{mxt|}}}{{{green|}}}|#006400|{{SAFESUBST:<noinclude />#if:{{{!mxt|}}}{{{red|}}}|#8B0000|inherit}}}};}} {{SAFESUBST:<noinclude />#if:{{{style|}}}|{{{style}}}}}">|{{SAFESUBST:<noinclude />#if:{{{1|}}}|{{{1}}}&#61..." current
  • 23:4423:44, 24 June 2023 diff hist +4,323 N Module:Template link generalCreated page with "-- This implements Template:Tlg local getArgs = require('Module:Arguments').getArgs local p = {} -- Is a string non-empty? local function _ne(s) return s ~= nil and s ~= "" end local nw = mw.text.nowiki local function addTemplate(s) local i, _ = s:find(':', 1, true) if i == nil then return 'Template:' .. s end local ns = s:sub(1, i - 1) if ns == '' or mw.site.namespaces[ns] then return s else return 'Template:' .. s end end local function trimTemplate(..." current
  • 23:4423:44, 24 June 2023 diff hist +190 N Template:Template link expandedCreated page with "{{#Invoke:Template link general|main|code=on}}<noinclude> {{Documentation|1=Template:Tlg/doc |content = {{tlg/doc|tlx}} }} <!-- Add categories to the /doc subpage, not here! --> </noinclude>" current
  • 23:4423:44, 24 June 2023 diff hist +7,451 N Module:Hatnote listCreated page with "-------------------------------------------------------------------------------- -- Module:Hatnote list -- -- -- -- This module produces and formats lists for use in hatnotes. In particular, -- -- it implements the for-see list, i.e. lists of "For X, see Y" statements, -- -- as used in {{about}}, {{redirect}}, and their variants. Also introd..." current
  • 23:4323:43, 24 June 2023 diff hist +1,129 N Module:ErrorCreated page with "-- This module implements {{error}}. local p = {} local function _error(args) local tag = mw.ustring.lower(tostring(args.tag)) -- Work out what html tag we should use. if not (tag == 'p' or tag == 'span' or tag == 'div') then tag = 'strong' end -- Generate the html. return tostring(mw.html.create(tag) :addClass('error') :wikitext(tostring(args.message or args[1] or error('no message specified', 2))) ) end function..." current
  • 23:4223:42, 24 June 2023 diff hist +6,484 N Module:Format linkCreated page with "-------------------------------------------------------------------------------- -- Format link -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with " § " as a separator rather than the standard MediaWiki "#". Used in -- the {{format link}} template. -------------------------------------------------------------------------------- local libraryUtil = require(..." current
  • 23:4223:42, 24 June 2023 diff hist +6,037 N Module:HatnoteCreated page with "-------------------------------------------------------------------------------- -- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the {{hatnote}} and {{format link}} meta-templates and includes -- -- helper functions for other Lua hatnote modules...." current
  • 23:4223:42, 24 June 2023 diff hist +897 N Module:DistinguishCreated page with "local mHatnote = require('Module:Hatnote') local mHatlist = require('Module:Hatnote list') local mArguments --initialize lazily local mTableTools --initialize lazily local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local p = {} function p.distinguish(frame) mArguments = require('Module:Arguments') mTableTools = require('Module:TableTools') local args = mArguments.getArgs(frame) local selfref = args.selfref local text = args.text a..." current
  • 23:4223:42, 24 June 2023 diff hist +290 N Template:DistinguishCreated page with "{{#invoke:Distinguish|distinguish}}<noinclude><!-- splitting these lines causes {{Documentation}} template to terminate green shading when Distinguish is used in /doc pages. --> {{Documentation}} <!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! --> </noinclude>" current
  • 23:4123:41, 24 June 2023 diff hist +4,502 N Template:Documentation subpage/docCreated page with "{{Documentation subpage}} {{high-use}} {{Distinguish|Template:Documentation}} This template displays a message that the current page is a documentation subpage. == Usage == : {{Template link expanded|Documentation subpage}} : or : {{Template link expanded|Documentation subpage |[[{{var|Page where the documentation is [[Help:Transclusion|transcluded]]}}]]}} ===Userbox documentation=== To set this template to use "userbox" and "userbox page" rather than "..."
  • 23:4123:41, 24 June 2023 diff hist +35,003 N Template:Infobox/docCreated page with "<noinclude>{{pp-protected|reason=Persistent disruptive editing|small=yes}}</noinclude>{{documentation subpage|Template:Infobox album|Template:Infobox album/doc}} {{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-risk}}}} {{Music infobox header}} {{Auto italic title|italic_title}} {{Auto short description}} {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} {{Parameter names example |italic_title |name |type |longtype |..."
  • 23:4023:40, 24 June 2023 diff hist +312 N Template:IfCreated page with "{{ safesubst:<noinclude/>p{{ safesubst:<noinclude/>#ifeq:{{{1}}}|eq|1|2}}|{{ safesubst:<noinclude/>p{{ safesubst:<noinclude/>#ifeq:{{{2}}}|{{{3}}}|1|2}}|{{{4|}}}|{{{5|}}}}}|{{ safesubst:<noinclude/>p{{ safesubst:<noinclude/>#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|{{{4|}}}}}}}<noinclude> {{Documentation}} </noinclude>" current
  • 23:4023:40, 24 June 2023 diff hist +156 N Template:IfeqCreated page with "<includeonly>{{{{{|safesubst:}}}{{{{{|safesubst:}}}#ifeq:{{{1}}}|{{{2}}}|p1|p2}}|{{{3|}}}|{{{4|}}}}}</includeonly><noinclude> {{documentation}} </noinclude>" current
  • 23:3923:39, 24 June 2023 diff hist +178 N Template:SwitchCreated page with "<noinclude>{{Soft redirect|mw:Help:Extension:ParserFunctions##switch}}</noinclude><includeonly>{{error|<nowiki> Don't write {{switch, write "{{#switch:".</nowiki>}}</includeonly>" current
  • 23:3923:39, 24 June 2023 diff hist +46 N Template:!)Created page with "|}<noinclude> {{Documentation}} </noinclude>" current
  • 23:3823:38, 24 June 2023 diff hist +89 N Template:(!Created page with "<includeonly>{|</includeonly><noinclude><nowiki>{|</nowiki>{{Documentation}} </noinclude>" current
  • 23:3723:37, 24 June 2023 diff hist +7,111 N Module:DelinkCreated page with "-- This module de-links most wikitext. require("strict") local p = {} local getArgs local function delinkReversePipeTrick(s) if s:match("^%[%[|.*[|\n]") then -- Check for newlines or multiple pipes. return s end return s:match("%[%[|(.*)%]%]") end local function delinkPipeTrick(s) -- We need to deal with colons, brackets, and commas, per Help:Pipe trick. -- First, remove the text before the first colon, if any. if s:match(":") then s = s:match("%[%[.-..." current
  • 23:3723:37, 24 June 2023 diff hist +179 N Template:DelinkCreated page with "{{<includeonly>safesubst:</includeonly>#invoke:delink|delink}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 23:3623:36, 24 June 2023 diff hist +1,068 N Template:Infobox album/colorCreated page with "<includeonly>{{#switch: {{lc:{{delink|{{{1|}}}}}}}<!-- -->|studio album|studio|album |tribute|tribute album |cover album|cover |double album |demo = lightsteelblue<!-- -->|extended play|ep |single album = #F4BF92<!-- -->|live album|live = burlywood<!-- -->|compilation album|compilation |greatest hits|greatest |box set|box |remix album|r..."
  • 23:3623:36, 24 June 2023 diff hist +137 N Template:RedCreated page with "<span style="color: red;">{{{1}}}</span><noinclude> <!-- Add categories to the /doc subpage, not here! --> {{Documentation}} </noinclude>" current
  • 23:3623:36, 24 June 2023 diff hist +1,851 N Module:SDcatCreated page with "--SDcat Module to check whether local short description matches that on Wikidata -- local p = {} ------------------------------------------------------------------------------- --[[ setCat has the qid of a Wikidata entity passed as |qid= (it defaults to the associated qid of the current article if omitted) and the local short description passed as |sd= It returns a category if there is an associated Wikidata entity. It returns one of the following tracking categor..." current
  • 23:3523:35, 24 June 2023 diff hist +94 N Template:SDcatCreated page with "<includeonly>{{#invoke:SDcat |setCat}}</includeonly><noinclude> {{documentation}} </noinclude>" current
  • 23:3523:35, 24 June 2023 diff hist +95 N Template:Testcases otherCreated page with "{{#ifeq:{{SUBPAGENAME}}|testcases|{{{1|}}}|{{{2|}}}}}<noinclude> {{documentation}} </noinclude>" current
  • 23:3523:35, 24 June 2023 diff hist +5,755 N Module:Category handler/configCreated page with "-------------------------------------------------------------------------------- -- Module:Category handler configuration data -- -- Language-specific parameter names and values can be set here. -- -- For blacklist config, see Module:Category handler/blacklist. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. ----------------------------..." current
  • 23:3423:34, 24 June 2023 diff hist +761 N Module:Category handler/blacklistCreated page with "-- This module contains the blacklist used by Module:Category handler. -- Pages that match Lua patterns in this list will not be categorised unless -- categorisation is explicitly requested. return { '^Main Page$', -- don't categorise the main page. -- Don't categorise the following pages or their subpages. -- "%f[/\0]" matches if the next character is "/" or the end of the string. '^Wikipedia:Cascade%-protected items%f[/\0]', '^User:UBX%f[/\0]', -- The userbo..." current
  • 23:3423:34, 24 June 2023 diff hist +888 N Module:Category handler/sharedCreated page with "-- This module contains shared functions used by Module:Category handler -- and its submodules. local p = {} function p.matchesBlacklist(page, blacklist) for i, pattern in ipairs(blacklist) do local match = mw.ustring.match(page, pattern) if match then return true end end return false end function p.getParamMappings(useLoadData) local dataPage = 'Module:Namespace detect/data' if useLoadData then return mw.loadData(dataPage).mappings else return..." current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)