User contributions for UpgradeTest1
From BoyWiki
A user with 97 edits. Account created on 5 December 2015.
21 December 2021
- 22:1122:11, 21 December 2021 diff hist +19,526 N Module:ScribuntoUnit Created page with "------------------------------------------------------------------------------- -- Unit tests for Scribunto. ------------------------------------------------------------------------------- require('Module:No globals') local DebugHelper = {} local ScribuntoUnit = {} -- The cfg table contains all localisable strings and configuration, to make it -- easier to port this module to another wiki. local cfg = mw.loadData('Module:ScribuntoUnit/config') ------------------------..." current
- 22:1022:10, 21 December 2021 diff hist +776 N Module:Tmpl/testcases Created page with "local p = require('Module:ScribuntoUnit'):new() local m = require('Module:Tmpl') local function callWithArgs(arg0, args) local templateArgs = {} if args then for k, v in pairs(args) do local n = tonumber(k) or 0 if (n >= 1) then templateArgs[n] = v end end templateArgs[0] = arg0 end local frame = (mw.getCurrentFrame() :newChild{ args = templateArgs } :newChild{ args = {} }) return m.renderTmpl(frame) end function p:testRenderTmpl() self:ass..." current
- 22:0922:09, 21 December 2021 diff hist +437 N Module:Tmpl Created page with "-- This is a helper module for Template:tmpl local this = {} function this.renderTmpl(frame) local args = frame.args local pargs = (frame:getParent() or {}).args local result = pargs[0] or '' for k, v in pairs(pargs) do local n = tonumber(k) or -1 if (n >= 1 and n <= 9) then result = mw.ustring.gsub( result, '$' .. n, mw.text.trim(v) ) end end return result end return this" current
- 22:0822:08, 21 December 2021 diff hist +1,880 N Template:TemplateBox/sandbox Created page with "<onlyinclude><includeonly>{{#invoke:Languages|autolang|base=TemplateBox/sandbox/i18n |useargs=both |templateData={{#invoke:TemplateBox/sandbox|templatedata}} |JSONFM={{#invoke:TemplateBox/sandbox|templatedata|formatting=pretty}} |paramTable={{#invoke:TemplateBox/sandbox|paramtable}} |usageSample={{#invoke:TemplateBox/sandbox|usagesample}} |argCount={{#invoke:TemplateBox/sandbox|argcount}} |desc={{#invoke:TemplateBox/sandbox|description}} |templateDataInfo..." current
- 22:0822:08, 21 December 2021 diff hist +670 N Template:DocPageName/doc Created page with "<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{TemplateBox/sandbox | name = DocPageName | desc-en = | namespace = template | usergroup = all | relieson = * {{ll/s|iw=mw|Help:Extension:ParserFunctions|nsp=0}} ** {{Magic word|mono=1|nowrap=1|ext=ParserFunctions|#ifeq|...}} ** {{Magic word|mono=1|nowrap=1|ext=ParserFunctions|#titleparts|...}} | example = Template:Example | example2 = Template:Example/sandbox | i18n-metho..." current
- 22:0722:07, 21 December 2021 diff hist +407 N Template:DocPageName Created page with "<onlyinclude>{{#ifeq:{{#titleparts:{{{1|{{SUBJECTPAGENAME}}}}}||-1}}|sandbox<!-- -->|{{#ifexist:{{{1|{{SUBJECTPAGENAME}}}}}/doc<!-- -->|{{{1|{{SUBJECTPAGENAME}}}}}/doc<!-- -->|{{#titleparts:{{{1|{{SUBJECTPAGENAME}}}}}|-1}}/doc<!-- -->}}<!-- -->|{{{1|{{SUBJECTPAGENAME}}}}}/doc<!-- -->}}</onlyinclude> {{Documentation}} <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->" current
- 22:0722:07, 21 December 2021 diff hist +99 N Template:Tmpl Created page with "<onlyinclude><includeonly>{{#invoke:Tmpl|renderTmpl}}</includeonly></onlyinclude> {{Documentation}}" current
- 22:0622:06, 21 December 2021 diff hist +3,117 N Template:Documentation/layout Created page with "<div id="template-documentation" class="template-documentation"><templatestyles src="Template:Documentation/styles.css" /><!-- -->{{#if: {{PROTECTIONLEVEL:edit}} | {{Protected}} }}<!-- -->{{#ifeq: {{{heading|}}} | false | | <div class="template-documentation-heading mw-content-{{dir|{{{lang|}}}}}" lang="{{{lang|}}}" dir="{{dir|{{{lang|}}}}}"><!-- --><span class="template-documentation-title">{{#if: {{{heading|}}} | {{{heading|}}} | File:Test Template Info-Icon.sv..." current
- 22:0622:06, 21 December 2021 diff hist +739 N Template:Documentation/i18n Created page with "<languages/> <onlyinclude>{{Documentation/layout | lang = {{{lang|{{#invoke:Caller title|lang|base=Template:Documentation/i18n}}}}} <!-- {{Documentation}} parameters: --> |1={{{1|}}} |heading={{{heading|{{{2|}}}}}} |content={{{content|}}} <!-- $1 is automatically replaced by Template:Documentation/layout using {{tmpl}} --> | text = <translate>This documentation is transcluded from $1.</translate> <!-- DEPRECATED - New translations for the..." current
- 22:0522:05, 21 December 2021 diff hist +334 N Template:Gadget-state/default Created page with "<onlyinclude>{{#ifeq:{{Gadget-state|type=defaultState|gadget={{#titleparts:{{PAGENAME:{{{self|<noinclude>MediaWiki:Gadget-UploadWizard/de</noinclude>}}}}}|1}}}} |true | <sup><abbr title="{{int:label-gadget-state-default-tooltip}}">{{int:label-gadget-state-default-symbol}}</abbr></sup> }}</onlyinclude> {{documentation}}"
- 22:0322:03, 21 December 2021 diff hist +16 m MediaWiki:Gadgets-definition No edit summary current
- 22:0022:00, 21 December 2021 diff hist +1,422 N Module:Gadget-state Created page with "local p = {} local getArgs = require('Module:Arguments').getArgs local gadgets = mw.loadData('Module:Gadget-state/data') local function getGadget(frame) local gadgetName = getArgs(frame)[1] if type(gadgetName) ~= 'string' then return nil end gadgetName = gadgetName:gsub('^Gadget%-', '') return gadgets[gadgetName] end local function getFlag(gadget, flag) if gadget then for _, v in ipairs(gadget) do if mw.text.trim(v) == flag then return true end e..." current
- 21:5821:58, 21 December 2021 diff hist +968 N Template:Gadget-state Created page with "<onlyinclude>{{#switch: {{{1|{{{type}}}}}} | defaultState = {{#switch: {{{2|{{{gadget}}}}}} | Gadget-CollapsibleTemplates | Gadget-HotCat | Gadget-ImprovedUploadForm | Gadget-LanguageSelect | Gadget-ZoomViewer | Gadget-Slideshow | Gadget-UploadWizard | Gadget-MyUploads | Gadget-RotateLink | Gadget-RenameLink | Gadget-Stockphoto | Gadget-PictureOfTheYearEnhancements | Gadget-WikiMiniAtlas | Gadget-Long-Image-Names-in-Categories..."
- 21:5621:56, 21 December 2021 diff hist +2,688 N Module:Autotranslate Created page with " --[[ __ __ _ _ _ _ _ _ _ | \/ | ___ __| |_ _| | ___ _ / \ _ _| |_ ___ | |_ _ __ __ _ _ __ ___| | __ _| |_ ___ | |\/| |/ _ \ / _` | | | | |/ _ (_) / _ \| | | | __/ _ \| __| '__/ _` | '_ \/ __| |/ _` | __/ _ \ | | | | (_) | (_| | |_| | | __/_ / ___ \ |_| | || (_) | |_| | | (_| | | | \__ \ | (_| | || __/ |_| |_|\___/ \__,_|\__,_|_|\___(_)_/ \_\__,_|\__\___/ \__|_| \__,_|..." current
- 21:5521:55, 21 December 2021 diff hist +726 N Template:Documentation Created page with "<!-- {{#invoke:Autotranslate|autotranslate}} is used to avoid "Warning: This page calls Template:Autotranslate which causes a template loop (an infinite recursive call). "--> <onlyinclude>{{#invoke:Autotranslate|autotranslate | base = Template:Documentation/i18n |lang = {{{lang|{{int:Lang}} }}} |1 = {{#if:{{{1|}}} |{{{1}}} |{{#ifexist:{{SUBJECTPAGENAME}}/doc |{{SUBJECTPAGENAME}}/doc |{{#ifexist:{{#titleparts:{{..." current
- 21:5421:54, 21 December 2021 diff hist +969 N Template:Gadget-desc Created page with "<span id="{{anchorencode:mw-prefsection-gadgets-{{BASEPAGENAME:{{#titleparts:{{{self|}}}|1}}}}}}" {{Gadget-langdir|{{{self|}}}|{{{lang|}}}}}">{{#if:{{{name|}}} |<bdi>''{{{name|}}}''</bdi>:{{#if:{{{self|}}} |{{Gadget-state/default|self={{{self}}}}}{{Gadget-state/deprecation|self={{{self}}}}} }} }}{{{desc|{{{1}}}}}}</span> <!-- -->{{#if:{{{doc|}}}{{{example|}}}{{{talk|}}} |<small>[<!-- -->{{#if:{{{doc|}}}|{{{doc}}}|<bdi>{{int:label-gadget-documentation}}..."
- 21:4821:48, 21 December 2021 diff hist +272 N MediaWiki:Gadget-Stockphoto Created page with "{{gadget-desc|self=MediaWiki:Gadget-Stockphoto|name=StockPhoto|Add buttons to file description pages that make it easier to reuse, share and attribute images.|skin=vector and monobook|doc=Special:MyLanguage/Help:Gadget-Stockphoto|talk=MediaWiki talk:Gadget-Stockphoto.js}}"
- 21:4121:41, 21 December 2021 diff hist +1,611 N MediaWiki:Gadget-Stockphoto.css Created page with ".stockphoto-layout-vertical { position: absolute; min-width: 160px; } .stockphoto_buttonrow { cursor: pointer; display: inline-block; } a.stockphoto_buttonrow { color: inherit; } .stockphoto-layout-vertical .stockphoto_buttonrow { display: flex; } .stockphoto-layout-horizontal .stockphoto_buttonrow { margin-left: 10px; } .stockphoto_buttonrow_icon { opacity: 0.7; transform: opacity 0.3 ease; } .stockphoto-layout-vertical .stockphoto_buttonrow_icon { displ..."
- 21:4121:41, 21 December 2021 diff hist +136 N MediaWiki:Gadgets-definition Created page with "=== Other === * Stockphoto [ResourceLoader|dependencies=mediawiki.util,mediawiki.user|default|type=general]|Stockphoto.js|Stockphoto.css"
- 21:3021:30, 21 December 2021 diff hist +23,892 N MediaWiki:Gadget-Stockphoto.js Created page with "/* * StockPhoto - shows download and attribution buttons * * Revision: 2020-10-16 * Dependencies: mediawiki.util, mediawiki.user * Source: https://commons.wikimedia.org/wiki/MediaWiki:Gadget-Stockphoto.js * * Copyright 2010-09/10 by Magnus Manske * Copyright 2011-2020 Timo Tijhof * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software wit..."