User contributions for Simon

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

24 June 2023

  • 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
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)