Jump to content

User contributions for Rosie

A user with 1,264 edits. Account created on 5 February 2024.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

11 January 2026

  • 01:1401:14, 11 January 2026 diff hist +842 N Module:If preview/configuration Created page with "--We perform the actual check for whether this is a preview here since preprocessing is relatively expensive. local frame = mw.getCurrentFrame() local function is_preview() local revision_id = frame:preprocess('{{REVISIONID}}') -- {{REVISIONID}} is usually the empty string when previewed. -- I don't know why we're checking for nil but hey, maybe someday things -- would have broken return revision_id == nil or revision_id == '' end local function templatestyl..." current
  • 01:1301:13, 11 January 2026 diff hist +349 N Module:If preview/styles.css Created page with "{{pp|small=yes}}: .preview-warning { font-style: italic; @noflip: padding-left: 1.6em; margin-bottom: 0.5em; color: var(--color-error, red); } The templatestyles element inserts a link element before hatnotes. * TODO: Remove link if/when WMF resolves T200206: .preview-warning + link + .preview-warning { margin-top: -0.5em; }" current
  • 01:1201:12, 11 January 2026 diff hist +751 N Module:If preview/doc Created page with "{{Module rating|protected}} {{High-use}} {{Lua|Module:Arguments|Module:If preview/configuration|Module:Yesno}} {{Uses TemplateStyles|Module:If preview/styles.css}} This module implements {{Tl|If preview}} and {{Tl|Preview warning}}. It helps templates/modules determine if they are being previewed. Prefer implementing the template versions in other templates. In a module to use the <code>main()</code>, you need to pass a frame table with an args table. For the preview..."
  • 01:1201:12, 11 January 2026 diff hist +1,973 N Module:If preview Created page with "local p = {} local getArgs = require("Module:Arguments").getArgs local yn = require("Module:Yesno") local cfg = mw.loadData('Module:If preview/configuration') --main This function returns either the first argument or second argument passed to this module, depending on whether the page is being previewed. function p.main(frame) local args = getArgs(frame) if cfg.preview then return args[1] or '' else return args[2] or '' end end --[[ pmain This function..." current
  • 01:1201:12, 11 January 2026 diff hist +103 N Template:If preview Created page with "<onlyinclude>{{safesubst:<noinclude/>#invoke:If preview|pmain}}</onlyinclude><!-- -->{{documentation}}" current
  • 01:0601:06, 11 January 2026 diff hist +296 N Module:Template link general/config Created page with "local cfg = {}; -- Don’t touch this line. -- The link for the “subst:” prefix when the “link subst” parameter is truthy. -- Set to “nil” to disable the “link subst” parameter. cfg["subst-link"] = "Special:MyLanguage/Help:Substitution"; return cfg; -- Don’t touch this line." current
  • 01:0501:05, 11 January 2026 diff hist +44 N Template:Tlg Redirected page to Template:Template link general current Tag: New redirect
  • 01:0401:04, 11 January 2026 diff hist +208 N Template:Parameter Created page with "<span style="color:#{{#ifeq: {{{2|}}} | required | C66 | 66C }};">'''{{{1}}}'''</span>{{#ifeq: {{{2|}}} | required | <span style="color:#999;"> (required)</span> | }}<noinclude> {{documentation}} </noinclude>" current
  • 01:0401:04, 11 January 2026 diff hist +2,124 N Module:Uses TemplateStyles/config Created page with "local cfg = {} -- Don’t touch this line. -- Subpage blacklist: these subpages will not be categorized (except for the -- error category, which is always added if there is an error). -- For example “Template:Foo/doc” matches the `doc = true` rule, so it will have -- no categories. “Template:Foo” and “Template:Foo/documentation” match no rules, -- so they *will* have categories. All rules should be in the -- ['<subpage name>'] = true, -- format. cfg['subpa..."
  • 01:0301:03, 11 January 2026 diff hist +634 N Module:Template link general/doc Created page with "<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Lua|Module:Arguments|Module:Yesno|Module:Template link general/config}} {{Uses TemplateStyles|Template:Mono/styles.css|Template:Nowrap/styles.css}} {{Module rating|beta}} Implements {{tlg|mono=1|nowrap=1|tlg}}. == Usage == <code><nowiki>{{</nowiki>#invoke:Template link general|main<nowiki>}}</nowiki></code> <includeonly>{{Sandbox other|| <!-- Categories below this line; int..."
  • 01:0301:03, 11 January 2026 diff hist +5,732 N Module:Template link general Created page with "-- This implements Template:Template link general and various other templates in its family local getArgs = require('Module:Arguments').getArgs local yesno = require('Module:Yesno') local cfg = mw.loadData('Module:Template link general/config') 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..." current
  • 01:0301:03, 11 January 2026 diff hist +202 N Template:Template link general Created page with "<onlyinclude>{{<includeonly>safesubst:</includeonly>#invoke:Template link general|main}}</onlyinclude> {{Documentation}} <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->" current
  • 01:0201:02, 11 January 2026 diff hist +460 N Template:Tlx Created page with "<onlyinclude>{{<includeonly>safesubst:</includeonly>#invoke:Template link general|main<!-- -->|mono=true<!-- --><includeonly><!-- -->|1={{safesubst:#if:{{{SISTER|}}}|{{{SISTER}}}:Template:{{{1}}}|{{{1}}}}}<!-- -->|alttext{{safesubst:#ifeq:{{{alttext|}}}|{{{alttext}}}|¬}}={{safesubst:#if:{{{SISTER|}}}|{{{1}}}}}<!-- --></includeonly><!-- -->}}</onlyinclude> {{Documentation}} <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->" current
  • 01:0201:02, 11 January 2026 diff hist +510 N Module:Uses TemplateStyles/doc Created page with "{{Module rating|release}} {{Lua|Module:Uses TemplateStyles/config|Module:Yesno|Module:List|Module:TableTools|Module:Message box|Module:TNT}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> Implements {{tlx|Uses TemplateStyles}}. <includeonly>{{Sandbox other|| <!-- Categories below this line; interwikis at Wikidata --> [[Category:Global modules{{#translation:}}]] }}</includeonly><noinclude> Category:Module documentation pa..."
  • 01:0201:02, 11 January 2026 diff hist +3,810 N Module:Uses TemplateStyles Created page with "require("strict"); -- This module implements the {{Uses TemplateStyles}} template. local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local TNT = require('Module:TNT') local p = {} local function format(msg, ...) -- Content sourced from commons:Data:I18n/Uses TemplateStyles.tab return TNT.format('I18n/Uses TemplateStyles', msg, ...) end loca..."
  • 01:0101:01, 11 January 2026 diff hist +266 N Template:Uses TemplateStyles Created page with "<onlyinclude><includeonly>{{#invoke:Uses TemplateStyles|main}}</includeonly></onlyinclude> {{Uses TemplateStyles|Template:Uses TemplateStyles/example.css|nocat=true}} {{Documentation}} <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->"
  • 01:0101:01, 11 January 2026 diff hist +10,243 N Module:ScribuntoUnit/doc Created page with "<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Uses TemplateStyles|Module:ScribuntoUnit/styles.css}} {{Module rating|beta}} This module provides unit tests for other Lua modules. To test a module, you must create a separate test module, usually located at <code>Module:''Module name''/testcases</code>. The module is tested with the ScribuntoUnit module, which verifies that the operations defined in the test mo..."
  • 01:0101:01, 11 January 2026 diff hist +23,645 N Module:ScribuntoUnit Created page with "------------------------------------------------------------------------------- -- Unit tests for Scribunto. ------------------------------------------------------------------------------- require('strict') 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
  • 01:0001:00, 11 January 2026 diff hist +129 N Module:TNT/testcases/doc Created page with "== Module:TNT == {{#invoke:TNT/testcases|run}} == Module:TNT/sandbox == {{#invoke:TNT/testcases|run|module=TNT/sandbox}}" current
  • 01:0001:00, 11 January 2026 diff hist +9,293 N Module:TNT/testcases Created page with "local ScribuntoUnit = require('Module:ScribuntoUnit') local p = ScribuntoUnit:new() local libName = 'TNT' -- Helper to run all tests using sandbox version of the library from the debug console. To run against main lib, use =p.run() function p.runSandbox() local frame = mw.getCurrentFrame():newChild{title='testcases', args={module=libName .. '/sandbox', displayMode='log'}} return p.run(frame) end -- Allow test runner to use both the main library and the sandbox of th..." current
  • 01:0001:00, 11 January 2026 diff hist +3,740 N Module:TNT/doc Created page with "{{distinguish|Module:Template translation}} {{Uses TNT|Module:TNT}} == Module Quality == {{ModuleQuality}} == Documentation == This module allows templates and modules to be easily translated as part of the multilingual templates and modules project. Instead of storing English text in a module or a template, TNT module allows modules to be designed language-neutral, and store multilingual text in the mw:Help:Tabular_Data|tabu..."
  • 01:0001:00, 11 January 2026 diff hist +7,941 N Module:TNT Created page with "-- -- INTRO: (!!! DO NOT RENAME THIS PAGE !!!) -- This module allows any template or module to be copy/pasted between -- wikis without any translation changes. All translation text is stored -- in the global Data:*.tab pages on Commons, and used everywhere. -- -- SEE: https://www.mediawiki.org/wiki/Multilingual_Templates_and_Modules -- -- ATTENTION: -- Please do NOT rename this module - it has to be identical on all wikis. -- This code is maintained..."
  • 00:5900:59, 11 January 2026 diff hist +2,395 N Template:ModuleQuality Created page with "<onlyinclude><includeonly>{{#ifexist:Module:{{{1|{{ROOTPAGENAME}}}}}/testcases|</includeonly> {{(!}} class="wikitable" {{!}}+ {{#invoke:TNT|msg|I18n/ModuleQuality.tab|testcases-table-caption}} {{!}}- {{!}} <noinclude>{{ns:module}}:{{parameter|{{#invoke:TNT|msg|I18n/ModuleQuality.tab|module-name}}}}</noinclude><!-- --><includeonly>[[:{{ns:module}}:{{{1|{{ROOTPAGENAME}}}}}]]</includeonly> {{!}} {{<noinclude>tlg|nowrapname=1|nolink=1|mono=1|</noinclude>#invoke:{{{1|{{ROOTP..." current
  • 00:5900:59, 11 January 2026 diff hist +9,831 N Module:TableTools/doc Created page with "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. == Module Quality == {{ModuleQuality}} == Loading the module == To use any of the functions, first you must load the module. <syntaxhighlight lang="lua"> local TableTools = require('Module:TableTools') </syntaxhighlight> == Functions == === isPositiveInteger === <syntaxhighlight lang=..." current
  • 00:5800:58, 11 January 2026 diff hist +12,326 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...."
  • 00:5800:58, 11 January 2026 diff hist +77 N Template:Nowrap/styles.css Created page with ".nowrap, .nowrap a:before, .nowrap .selflink:before { white-space: nowrap; }" current
  • 00:5700:57, 11 January 2026 diff hist +835 N Template:Tag Created page with "<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!-- Opening tag -->{{#switch:{{{2|pair}}} |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:{{{link|}}}|tag}}}|{{{1|tag}}}|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}| {{{params|{{{attribs}}}}}}}} }}<!-- Content between tags -->{{#switch:{{{2|pair}}} |c|close = {{{content|}}} |..." current
  • 00:5700:57, 11 January 2026 diff hist +9,012 N Module:List/doc Created page with "{{used in system|in MediaWiki:Citethispage-content}} {{module rating|p}} {{cascade-protected template|page=module}} {{Lua|Module:TableTools|Module:Arguments}} {{Uses TemplateStyles|Template:Plainlist/styles.css|Template:Hlist/styles.css}} This module outputs various kinds of lists. At present, it supports bulleted lists, unbulleted lists, horizontal lists, ordered lists (numbered or alphabetical), and horizontal ordered lists. It allows for easy css styling of the l..."
  • 00:5700:57, 11 January 2026 diff hist +5,643 N Module:List Created page with "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, args) -- Constructs a data table to be passed to p.renderList. local data = {} -- Classes and TemplateStyles data.classes = {} data.templatestyles = ''..."
  • 00:5600:56, 11 January 2026 diff hist +1,115 N Module:Lua banner/doc Created page with "{{high use}} {{Lua|Module:Yesno|Module:List|Module:TableTools|Module:Message box}} This module implements the {{tl|lua}} template. == Usage from wikitext == This module cannot be used directly from wikitext. It can only be used through the {{tl|lua}} template. Please see the template page for documentation. == Usage from Lua modules == To use this module from other Lua modules, first load the module. <syntaxhighlight lang="lua"> local mLuaBanner = require('Module:Lu..." current
  • 00:5600:56, 11 January 2026 diff hist +3,908 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)..."
  • 00:5600:56, 11 January 2026 diff hist +196 N Template:Lua Created page with "<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude> {{Lua|Module:Lua banner}} {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>"
  • 00:5500:55, 11 January 2026 diff hist +119 N Template:Mono/styles.css Created page with "{{pp-template}}: .monospaced { "monospace, monospace" per [[WP:MONO]]: font-family: monospace, monospace; }" current
  • 00:5400:54, 11 January 2026 diff hist +5,739 N Module:Check for unknown parameters/doc Created page with "{{Used in system}} {{Module rating|g}} {{cascade-protected template|page=module}} {{Lua|Module:If preview|noprotcat=yes}} '''Module:Check for unknown parameters''' is used to check for uses of unknown parameters in a template or module. It may be appended to a template at the end or called directly from a module. == Usage == === From a template === To sort entries into a tracking category by parameter, use: * {{mlx|Check for unknown parameters|check|unknown{{=}}{{elc|C..."
  • 00:5400:54, 11 January 2026 diff hist +4,561 N Module:Check for unknown parameters Created page with "-- This module may be used to compare the arguments passed to the parent -- with a list of arguments, returning a specified result if an argument is -- not on the list require ('strict'); local p = {} local mapframe_params = { 'coord', 'coordinates', 'id', 'qid', 'mapframe', 'mapframe-area_km2', 'mapframe-area_mi2', 'mapframe-caption', 'mapframe-coord', 'mapframe-coordinates', 'mapframe-custom', 'mapframe-frame-coord', 'mapframe-frame-coordinates', 'mapf..."
  • 00:5200:52, 11 January 2026 diff hist +406 N Module:Error/doc Created page with "{{High-use|80000}} {{Module rating|protected}} This module implements {{Tl|Error}}. It creates an html message with class "error". Please, see the documentation page there for usage instructions. == See also == * Module:Warning * Module:If preview<includeonly> {{Sandbox other|| Category:Error-handling modules }}</includeonly><noinclude> Category:Module documentation pages </noinclude>"
  • 00:5200:52, 11 January 2026 diff hist +1,156 N Module:Error Created page with "-- This module implements {{error}}. local p = {} function p._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') :cssText(args.style) :wikitext(tostring(args.message or args[1] or error('no message specified',..." current
  • 00:5200:52, 11 January 2026 diff hist +102 N Template:Error Created page with "{{#invoke:Error|error|{{{message|{{{1}}}}}}|tag={{{tag|}}}}}<noinclude> {{documentation}} </noinclude>" current
  • 00:5100:51, 11 January 2026 diff hist +394 N Template:Space Created page with "<span class="nowrap">{{#iferror:{{#expr:{{{1|1}}}}} |{{#switch:{{{1}}} |fig=  |en=  |em=  |thin=  |hair=  |  }} |{{#invoke:String|rep|{{#switch:{{{2}}} |fig=  |en=  |em=  |thin=  |hair=  |  }}|{{{1|1}}}}} }}</span><noinclude> {{documentation}} </noinclude>" current
  • 00:5000:50, 11 January 2026 diff hist +47 N Template:Clc Redirected page to Template:Category link with count current Tag: New redirect
  • 00:4900:49, 11 January 2026 diff hist +23,586 N Module:String/doc Created page with "{{Used in system}} {{Module rating|protected}} {{cascade-protected template|page=module}} {{Lmd|String}} This module is intended to provide access to basic string functions. Most of the functions provided here can be invoked with named parameters, unnamed parameters, or a mixture. If named parameters are used, Mediawiki will automatically remove any leading or trailing whitespace from the parameter. Depending on the intended use, it may be advantageous to either prese..."
  • 00:4900:49, 11 January 2026 diff hist +19,366 N Module:String Created page with "--[[ This module is intended to provide access to basic string functions. Most of the functions provided here can be invoked with named parameters, unnamed parameters, or a mixture. If named parameters are used, Mediawiki will automatically remove any leading or trailing whitespace from the parameter. Depending on the intended use, it may be advantageous to either preserve or remove such whitespace. Global options ignore_errors: If set to 'true' or 1, any error c..."
  • 00:4900:49, 11 January 2026 diff hist +360 N Template:Category link with count Created page with "[[:Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|<!-- -->{{#if:{{{name|}}}|{{{name}}}|Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}}}<!-- -->]] ({{PAGESINCATEGORY:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|{{{2|all}}}}})<noinclude> {{Documentation}} </noinclude>" current
  • 00:4700:47, 11 January 2026 diff hist +165 N Template:Green Created page with "<span style="color:green;">{{{1}}}</span><noinclude> <!-- Add categories to the /doc subpage and interwikis to WikiData, not here! --> {{Documentation}}</noinclude>" current
  • 00:4700:47, 11 January 2026 diff hist +44 N Template:Gsd Redirected page to Template:Gregorian serial date current Tag: New redirect
  • 00:4600:46, 11 January 2026 diff hist +41 N Template:Dda Redirected page to Template:Death date and age current Tag: New redirect
  • 00:4600:46, 11 January 2026 diff hist +70 N Template:Bda Redirected page to Template:Birth date and age current Tag: New redirect
  • 00:4600:46, 11 January 2026 diff hist +52 N Template:Hla Redirected page to Template:Age in years, months and days current Tag: New redirect
  • 00:4500:45, 11 January 2026 diff hist +162 N Template:Rcat shell Redirected page to Template:Redirect category shell current Tag: New redirect
  • 00:4500:45, 11 January 2026 diff hist +2,242 N Template:Redirect category shell Created page with "__NONEWSECTIONLINK__{{Mbox | name = Redirect category shell | type = move | image = none | style = margin-top: 1.1em; border: solid 1px darkblue; border-left-width: 0.5em; | textstyle = padding-top: 0.9em; padding-bottom: 0.9em; | text = '''This {{Talk other|talk page|page}} is a redirect. <small>The following categories are used to track and monitor this redirect:</small>'''{{#if:{{{h|}}} |{{block indent|1..." current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)