User contributions for Simon

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

24 June 2023

  • 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
  • 23:3423:34, 24 June 2023 diff hist +631 N Module:Category handler/dataCreated page with "-- This module assembles data to be passed to Module:Category handler using -- mw.loadData. This includes the configuration data and whether the current -- page matches the title blacklist. local data = require('Module:Category handler/config') local mShared = require('Module:Category handler/shared') local blacklist = require('Module:Category handler/blacklist') local title = mw.title.getCurrentTitle() data.currentTitleMatchesBlacklist = mShared.matchesBlacklist(..." current
  • 23:3423:34, 24 June 2023 diff hist +7,871 N Module:Category handlerCreated page with "-------------------------------------------------------------------------------- -- -- -- CATEGORY HANDLER -- -- -- -- This module implements the {{category handler}} template in Lua, -- -- with a few improvements: all namespaces and all namespace alia..." current
  • 23:3323:33, 24 June 2023 diff hist +148 N Template:Category handlerCreated page with "{{#invoke:Category handler|main}}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage, and interwikis to Wikidata. --> </noinclude>" current
  • 23:3323:33, 24 June 2023 diff hist +184 N Template:Str leftCreated page with "<includeonly>{{safesubst:padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 23:3323:33, 24 June 2023 diff hist +178 N Template:Remove first wordCreated page with "{{<includeonly>safesubst:</includeonly>#invoke:String|replace|source={{{1}}}|pattern=^[^{{{sep|%s}}}]*{{{sep|%s}}}*|replace=|plain=false}}<noinclude>{{Documentation}}</noinclude>" current
  • 23:3223:32, 24 June 2023 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. ---------------------------------------------------------------------------------..." current
  • 23:3223:32, 24 June 2023 diff hist +34,736 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..." current
  • 23:3223:32, 24 June 2023 diff hist +151 N Template:DocumentationCreated page with "{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> <!-- Add categories to the /doc subpage --> </noinclude>" current
  • 23:3123:31, 24 June 2023 diff hist +435 N Template:Template otherCreated page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{ns:Template}} | template | other }} }} | template = {{{1|}}} | other | #default = {{{2|}}} }}<!--End switch--><noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" current
  • 23:3123:31, 24 June 2023 diff hist +1,072 N Template:Extra album coverCreated page with "{{Infobox | child = <includeonly>yes</includeonly> | headerstyle = background: {{Infobox album/color|{{{type|}}}}} | header1 = {{#switch:{{{header|}}}|no|none=|=Alternative cover|#default={{{header|}}}}} | data2 = {{Infobox | child = yes | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{cover|{{{image|}}}}}}|size={{{cover_size|}}}|sizedefault=frameless|alt={{{alt|}}}|border={{{border|}}}|title={{{alt|{{{caption|}}}}}}}} | caption = {{{caption|}}}..." current
  • 23:3023:30, 24 June 2023 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...." current
  • 23:3023:30, 24 June 2023 diff hist +5,689 N Module:Music ratingsCreated page with "-- This module implements Template:Album ratings. local mTableTools = require('Module:TableTools') local yesno = require('Module:Yesno') local p = {} local function makeCell(html, s) html :tag('td') :css('text-align', 'center') :css('vertical-align', 'middle') :wikitext(s) end local function makeRow(review, score) local row = mw.html.create('tr') makeCell(row, review) makeCell(row, score) return row end local function makeHeaderRow(header, backgro..."
  • 23:3023:30, 24 June 2023 diff hist +508 N Template:Music ratingsCreated page with "{{#invoke:Music ratings|main}}{{#invoke:Check for unknown parameters|check|unknown={{main other|_VALUE_{{PAGENAME}}}}|preview=Page using Template:Music ratings with unknown parameter "_VALUE_"|ignoreblank=y | ADM | MC | aggregate1 | aggregate1score | aggregate2 | aggregate2score | align | noprose | regexp1 = [Rr]ev[%d][%d]* | regexp2 = [Rr]ev[%d][%d]*[sS]core | state | subtitle | title | width }}<noinclud..." current
  • 23:3023:30, 24 June 2023 diff hist +83 N Template:Album ratingsRedirected page to Template:Music ratings current Tag: New redirect
  • 23:2923:29, 24 June 2023 diff hist +86 N Template:CategoryRedirected page to Template:Category link current Tag: New redirect
  • 23:2823:28, 24 June 2023 diff hist +1,479 N Template:Infobox album/linkCreated page with "{{#switch: {{lc:{{delink|{{{1|}}}}}}}<!-- -->|studio album|studio|album |tribute|tribute album |cover album|cover |double album = Studio album |demo = Demo album<!-- -->|extended play|ep = EP |single album = Single album<!-- -->|live album|live..."
  • 23:2823:28, 24 June 2023 diff hist +10,244 N Module:InfoboxImageCreated page with "-- Inputs: -- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link -- page - page to display for multipage images (DjVu) -- size - size to display the image -- maxsize - maximum size for image -- sizedefault - default size to display the image if size param is blank -- alt - alt text for image -- title - title text for image -- border - set to yes if border -- center - set to yes, if th..." current
  • 23:2723:27, 24 June 2023 diff hist +97 N Template:TrimCreated page with "<includeonly>{{safesubst:#if:1|{{{1|}}}}}</includeonly><noinclude> {{Documentation}} </noinclude>" current
  • 23:2723:27, 24 June 2023 diff hist +3,124 N Module:DurationCreated page with "local p = {} function p._error( error_str ) return 'Category:Duration with input error<strong class="error">Error in Module:Duration: ' .. error_str .. '</strong>' end function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {wrappers = {'Template:Duration', 'Template:Duration/sandbox'}}) local tmp = args.duration or args[1] or '' local duration = {} if tonumber(args[1]) or args[2] or args[3] then if args[4] then return p._error('Par..." current
  • 23:2723:27, 24 June 2023 diff hist +33 N Module:HmsCreated page with "return require('Module:Duration')" current
  • 23:2623:26, 24 June 2023 diff hist +8,913 N Module:Italic titleCreated page with "-- This module implements {{italic title}}. require('strict') local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg local yesno = require('Module:Yesno') -------------------------------------------------------------------------------- -- ItalicTitle class -------------------------------------------------------------------------------- local ItalicTitle = {} do ----------------..." current
  • 23:2623:26, 24 June 2023 diff hist +20,533 N Module:InfoboxCreated page with "local p = {} local args = {} local origArgs = {} local root local empty_row_categories = {} local category_in_empty_row_pattern = '%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]' local has_rows = false local lists = { plainlist_t = { patterns = { '^plainlist$', '%splainlist$', '^plainlist%s', '%splainlist%s' }, found = false, styles = 'Plainlist/styles.css' }, hlist_t = { patterns = { '^hlist$', '%shlist$', '^hlist%s', '%shlist%s'..."
  • 23:2623:26, 24 June 2023 diff hist +340 N Template:InfoboxCreated page with "{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|{{remove first word|{{SUBPAGENAME}}}}}}}}|}}</includeonly><noinclude> {{documentation}} <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> </noinclude>"
  • 23:2523:25, 24 June 2023 diff hist +422 N Template:Main otherCreated page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{ns:0}} | main | other }} }} | main = {{{1|}}} | other | #default = {{{2|}}} }}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! --> </noinclude>" current
  • 23:2523:25, 24 June 2023 diff hist +130 N Template:First wordCreated page with "{{<includeonly>safesubst:</includeonly>#invoke:String|match|s={{{1}}}|^[^{{{sep|%s}}}]*}}<noinclude> {{documentation}}</noinclude>" current
  • 23:2523:25, 24 June 2023 diff hist +238 N Template:MainCreated page with "<includeonly>{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 23:2523:25, 24 June 2023 diff hist +827 N Template:Short description/lowercasecheckCreated page with "{{#ifeq:<!--test first character for lower-case letter-->{{#invoke:string|find|1={{{1|}}}|2=^%l|plain=false}}|1 |<!-- first character is a lower case letter; test against whitelist -->{{#switch: {{First word|{{{1|}}}}}<!--begin whitelist--> |c. <!--for circa--> |gTLD |iMac |iOS |iOS, |iPad |iPhone |iTunes |macOS |none |pH |pH-dependent=<!-- end whitelist; short description starts with an allowed lower-case string; whitelist matched; do nothing --> |#default=<!-- apply c..." current
  • 23:2423:24, 24 June 2023 diff hist +3,545 N Module:Namespace detect/configCreated page with "-------------------------------------------------------------------------------- -- Namespace detect configuration data -- -- -- -- This module stores configuration data for Module:Namespace detect. Here -- -- you can localise the module to your wiki's language. -- --..." current
  • 23:2323:23, 24 June 2023 diff hist +3,847 N Module:Pagetype/configCreated page with "-------------------------------------------------------------------------------- -- Module:Pagetype configuration data -- -- This page holds localisation and configuration data for Module:Pagetype. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. -------------------------------------------------------------------------------- -- St..." current
  • 23:2323:23, 24 June 2023 diff hist +3,545 N Module:Namespace config/dataCreated page with "-------------------------------------------------------------------------------- -- Namespace detect configuration data -- -- -- -- This module stores configuration data for Module:Namespace detect. Here -- -- you can localise the module to your wiki's language. -- --..." current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)