User contributions for Admin
Jump to navigation
Jump to search
15 December 2024
- 19:2219:22, 15 December 2024 diff hist +41,370 N Template:Country showdata Created page with "<includeonly>__NOEDITSECTION__ {{documentation|content= {{#if:{{{hatnote|}}}|{{{hatnote}}}}} {{#ifeq:{{#invoke:High-use|num|x|demo={{ROOTPAGENAME}}}}|many||{{High-use|demo={{ROOTPAGENAME}}}}}} {{notice|image=Exclamationdiamond.svg|<code>Template:{{{demopagename|{{PAGENAME}}}}}</code> is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as <code>flag</code>, <code>flag icon<..." current
- 19:2119:21, 15 December 2024 diff hist +3,394 N Template:Country data United Kingdom Created page with "{{ {{{1<noinclude>|country showdata</noinclude>}}} | alias = United Kingdom | flag alias = Flag of the United Kingdom.svg | flag alias-1707 = Naval ensign of Great Britain (1707–1800).svg | flag alias-air force = Ensign of the Royal Air Force.svg | flag alias-army = Flag of the British Army.svg | flag alias-civil = Civil Ensign of the United Kingdom.svg | flag alias-civil-air = Civil Air Ensign of the United Kingdom.svg | flag alias-coast guard = Flag of Her Majesty's..." current
- 19:2019:20, 15 December 2024 diff hist +1,089 N Module:Documentation/styles.css Created page with "→{{pp|small=yes}}: .documentation, .documentation-metadata { border: 1px solid #a2a9b1; background-color: #ecfcf4; clear: both; } .documentation { margin: 1em 0 0 0; padding: 1em; } .documentation-metadata { margin: 0.2em 0; →same margin left-right as .documentation: font-style: italic; padding: 0.4em 1em; →same padding left-right as .documentation: } .documentation-startbox { padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bott..." current
- 19:1919:19, 15 December 2024 diff hist +17,747 N Module:Documentation/config Created 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
- 19:1919:19, 15 December 2024 diff hist +35,082 N Module:Documentation Created 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 local format = mw.ustring.format ---------------------------------------------------------------------------- -- Helper functions -- -- These are defined as local functions, but are made available in..." current
- 19:1919:19, 15 December 2024 diff hist +151 N Template:Documentation Created page with "{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> <!-- Add categories to the /doc subpage --> </noinclude>" current
- 19:1819:18, 15 December 2024 diff hist −69 Template:Category link/core No edit summary current
- 19:1719:17, 15 December 2024 diff hist +289 N Template:Category link/core Created page with "[[:Category:{{{1}}}|{{{2}}}]]{{#if:{{Yesno|1={{{count|no}}}}}| <small style="{{#ifexpr:{{{page_count}}}>={{{backlog}}}|font-weight: bold; color: #DD0000;}}">( {{formatnum:{{{page_count}}}}} )</small>}}<noinclude> {{Documentation|Template:Category link/doc}} </noinclude>"
- 19:1719:17, 15 December 2024 diff hist +281 N Template:Category link Created page with "{{Category link/core|1={{PAGENAME:{{{1}}}}}|2={{{2|Category:{{PAGENAME:{{{1}}}}}}}}|count={{{count|no}}}|page_count={{PAGESINCAT:{{PAGENAME:{{{1}}}}}|{{UC:{{{count_type|ALL}}}}}|R}}|backlog={{{backlog|{{formatnum:{{NUMBEROFPAGES}}|R}}}}}}}<noinclude> {{Documentation}} </noinclude>" current
- 19:1719:17, 15 December 2024 diff hist +145 N Template:Nowrap Created page with "<span class="nowrap">{{{1}}}</span><noinclude> {{documentation}} <!-- Categories go on the /doc page; interwikis go to Wikidata. --> </noinclude>" current
- 19:1619:16, 15 December 2024 diff hist +190 N Template:Template link Created page with "{{nowrap|{{}}[[Template:{{{1}}}|{{{1}}}]]{{nowrap|}}}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>" current
- 19:1619:16, 15 December 2024 diff hist +1,724 N Template:R from move/except Created page with "<noinclude>This is the exception page for {{tl|R from move}}. This page makes exceptions that include certain pages that should not inhabit either {{cat|Unsynchronized talk page redirects}} or {{cat|Redirects from moves}}. If necessary, new exceptions may be added with no need to edit the main template, {{tl|R from move}}. </noinclude>{{#switch: {{FULLPAGENAME}} |MediaWiki:Move-redirect-text= |Template:R from move/except= |#default=Category:Redirects from moves }}{..." current
- 19:1619:16, 15 December 2024 diff hist +486 N Module:Hatnote/styles.css Created page with "→{{pp|small=y}}: .hatnote { font-style: italic; } →Limit structure CSS to divs because of [[Module:Hatnote inline]]: div.hatnote { →@noflip: padding-left: 1.6em; margin-bottom: 0.5em; } .hatnote i { font-style: normal; } →The templatestyles element inserts a link element before hatnotes. * TODO: Remove link if/when WMF resolves T200206: .hatnote + link + .hatnote { margin-top: -0.5em; } @media print { body.ns-0 .hatnote { display: none !impo..." current
- 19:1519:15, 15 December 2024 diff hist +3,069 N Module:Hatnote group Created page with "local mHatnote = require('Module:Hatnote') local p = {} --Collates key-based table of classes into usable class list function collateClassList (listTable) local list = {} for k, v in pairs(listTable) do if v and type(k) == "string" then table.insert(list, k) end end return table.concat(list, " ") end --Passes through single argument from parent frame function p.group (frame) return p._group(frame:getParent().args[1], frame:getParent().args.category) end functi..." current
- 19:1519:15, 15 December 2024 diff hist +1,129 N Module:Error Created 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
- 19:1519:15, 15 December 2024 diff hist +6,484 N Module:Format link Created 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
- 19:1419:14, 15 December 2024 diff hist +6,037 N Module:Hatnote Created 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
- 19:1419:14, 15 December 2024 diff hist +171 N Template:Hatnote Created page with "<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
- 19:1319:13, 15 December 2024 diff hist +665 N Template:R from move Created page with "<noinclude>{{hatnote|This rcat template is automatically added to all new redirects that result from page moves; it must be added manually to older redirects when appropriate.}}{{This is a redirect/rcat}} </noinclude>{{Redirect template |id=R from move |name=From a page move |from=a page that has been moved (renamed) |info=This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name. |all cat..." current
- 19:1319:13, 15 December 2024 diff hist +83 N Template:Tl Redirected page to Template:Template link current Tag: New redirect
- 19:1319:13, 15 December 2024 diff hist +302 N Template:Ifsubst Created page with "{{ safesubst:<noinclude/>#if:{{{demo|}}} |{{ safesubst:<noinclude/>#ifeq:{{{demo}}} |no |{{{no|{{{2|}}}}}} |{{{yes|{{{1|}}}}}} }} |{{ safesubst:<noinclude/>#ifeq:{{ safesubst:<noinclude/>NAMESPACE}}|{{NAMESPACE}} |{{{no|{{{2|}}}}}} |{{{yes|{{{1|}}}}}} }}}}<noinclude> {{Documentation}} </noinclude>" current
- 19:1219:12, 15 December 2024 diff hist +143 N Template:Smallcaps/styles.css Created page with "→{{pp-template}} Styling for Template:Smallcaps: span.smallcaps { font-variant: small-caps; } span.smallcaps-smaller { font-size: 85%; }" current
- 19:1219:12, 15 December 2024 diff hist +306 N Template:Smallcaps Created page with "{{<includeonly>safesubst:</includeonly>ifsubst | 1=<span style="font-variant:small-caps">{{{1}}}</span> | 2=<templatestyles src="smallcaps/styles.css"/><span class="smallcaps">{{{1}}}</span> }}<noinclude> <!-- Add categories and interwikis to the /doc subpage, not here! --> {{documentation}} </noinclude>" current
- 19:1219:12, 15 December 2024 diff hist +1,221 N Template:R from shortcut Created page with "<noinclude>{{Template:This is a redirect/rcat|from shortcut}} </noinclude>{{#switch:{{#invoke:RedirectData|getRedirectToNamespace}} |Template= {{Redirect template |id=R from template shortcut |name=From a template shortcut |from=a shortcut page name '''in ''any'' namespace''' |to=a page in template namespace |info=**Shortcuts are wikilinked on community pages, talk pages, and edit summaries, but not in wp:mainspa..." current
- 19:1119:11, 15 December 2024 diff hist +87 N Template:R from template shortcut Redirected page to Template:R from shortcut current Tag: New redirect
- 19:1119:11, 15 December 2024 diff hist +3,250 N Module:Redirect template Created page with "require('strict') local p = {} -- key is beginning of arg name. value is table with namespace number and link -- alternatively, a function taking the namespace number and returning a validity -- can be used local namespaceCategories = { all = { function() return true end }, main = { 0, 'main' }, help = { 12, 'help' }, portal = { 100, 'portal' }, talk = { function(n) return n > 0 and n%2 == 1 end, '[[Help:Talk pa..." current
- 19:1019:10, 15 December 2024 diff hist +75 N Template:Redirect template Created page with "{{#invoke:Redirect template|main}}<noinclude> {{Documentation}}</noinclude>" current
- 19:1019:10, 15 December 2024 diff hist +257 N Template:Small Created page with "<span style="font-size:85%;">{{{1}}}</span><includeonly>{{SAFESUBST:#if:{{{1|}}}||Category:Pages using small with an empty input parameter}}</includeonly><noinclude> {{Documentation}}<!--Categories and interwikis go in the /doc sub-page.--> </noinclude>" current
- 19:0919:09, 15 December 2024 diff hist +1,570 N Template:This is a redirect/rcat Created page with "{{#ifeq:{{NAMESPACE}}|Template talk||'''{{small|{{smallcaps|When used with the}} "Redirect category shell" (Rcat shell) {{smallcaps|template:}}}}}}''' {{Mbox | name = This is a redirect/rcat | 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 page is a redirect. <small>The following Wikipedia:Categorizing redir..." current
- 19:0919:09, 15 December 2024 diff hist +846 N Template:R from merge Created page with "<noinclude>{{This is a redirect/rcat}} </noinclude>{{Redirect template |id=R from merge |name=From a merge |from=a page that was merged into another page |info=This redirect was kept in order to preserve [[Special:PageHistory/{{FULLPAGENAMEE}}|'''the edit history of this page''']] after its content was merged into {{#if:{{{1|}}}|'''[[{{{1}}}]]'''|the content of the target page}}. Please ''do not'' remove the tag that generates this text (unless the need to recre..." current
- 19:0919:09, 15 December 2024 diff hist +113 N Template:Cat Redirected page to Template:Category link current Tag: New redirect
- 19:0819:08, 15 December 2024 diff hist +360 N Template:Talk other Created page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}} | talk | other }} }} | talk = {{{1|}}} | other | #default = {{{2|}}} }}<!--End switch--><noinclude> {{documentation}} </noinclude>" current
- 19:0719:07, 15 December 2024 diff hist +5,992 N Module:Namespace detect Created page with "--[[ -------------------------------------------------------------------------------- -- -- -- NAMESPACE DETECT -- -- -- -- This module implements the {{namespace detect}} template in Lua, with a -- -- few improvements: all namespaces and all namespace aliases are..." current
- 19:0719:07, 15 December 2024 diff hist +3,545 N Module:Namespace detect/config Created 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
- 19:0619:06, 15 December 2024 diff hist +2,569 N Module:Namespace detect/data Created page with "-------------------------------------------------------------------------------- -- Namespace detect data -- -- This module holds data for Module:Namespace detect to be loaded per -- -- page, rather than per #invoke, for performance reasons. -- -------------------------------------------------------------------------------- local cfg = require('Module:Namespace detect/config') local function..." current
- 19:0619:06, 15 December 2024 diff hist +888 N Module:Category handler/shared Created 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
- 19:0519:05, 15 December 2024 diff hist +761 N Module:Category handler/blacklist Created 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
- 19:0519:05, 15 December 2024 diff hist +7,871 N Module:Category handler Created page with "-------------------------------------------------------------------------------- -- -- -- CATEGORY HANDLER -- -- -- -- This module implements the {{category handler}} template in Lua, -- -- with a few improvements: all namespaces and all namespace alia..." current
- 19:0419:04, 15 December 2024 diff hist +1,974 N Module:Message box/tmbox.css Created page with "→{{pp|small=y}}: .tmbox { margin: 4px 0; border-collapse: collapse; border: 1px solid #c0c090; →Default "notice" gray-brown: background-color: #f8eaba; box-sizing: border-box; } →For the "small=yes" option.: .tmbox.mbox-small { font-size: 88%; line-height: 1.25em; } .tmbox-speedy { border: 2px solid #b32424; →Red: background-color: #fee7e6; →Pink: } .tmbox-delete { border: 2px solid #b32424; →Red: } .tmbox-content { bord..." current
- 19:0419:04, 15 December 2024 diff hist +1,852 N Module:Message box/ombox.css Created page with "→{{pp|small=y}}: .ombox { margin: 4px 0; border-collapse: collapse; border: 1px solid #a2a9b1; →Default "notice" gray: background-color: var(--background-color-neutral-subtle, #f8f9fa); box-sizing: border-box; color: var(--color-base, #202122); } →For the "small=yes" option.: .ombox.mbox-small { font-size: 88%; line-height: 1.25em; } .ombox-speedy { border: 2px solid #b32424; →Red: background-color: #fee7e6; →Pink: } .ombox-de..." current
- 19:0419:04, 15 December 2024 diff hist +1,842 N Module:Message box/imbox.css Created page with "→{{pp|small=y}}: .imbox { margin: 4px 0; border-collapse: collapse; border: 3px solid #36c; →Default "notice" blue: background-color: var(--background-color-interactive-subtle, #f8f9fa); box-sizing: border-box; } →For imboxes inside imbox-text cells.: .imbox .mbox-text .imbox { margin: 0 -0.5em; →0.9 - 0.5 = 0.4em left/right.: →TODO: Still needed?: display: block; →Fix for webkit to force 100% width.: } .imbox-speedy { border: 3px..." current
- 19:0319:03, 15 December 2024 diff hist +1,084 N Module:Message box/fmbox.css Created page with "→{{pp|small=y}}: .fmbox { clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #a2a9b1; background-color: var(--background-color-interactive-subtle, #f8f9fa); box-sizing: border-box; color: var(--color-base, #202122); } .fmbox-warning { border: 1px solid #bb7070; →Dark pink: background-color: #ffdbdb; →Pink: } .fmbox-editnotice { background-color: transparent; } .fmbox .mbox-text { border: none; →@noflip: padding: 0.25em..." current
- 19:0319:03, 15 December 2024 diff hist +2,692 N Module:Message box/cmbox.css Created page with "→{{pp|small=y}}: .cmbox { margin: 3px 0; border-collapse: collapse; border: 1px solid #a2a9b1; background-color: #dfe8ff; →Default "notice" blue: box-sizing: border-box; →necessary when embedded in other templates like [[:Category:Pending_AfC_submissions]]: color: var( --color-base ); } .cmbox-speedy { border: 4px solid #b32424; →Red: background-color: #ffdbdb; →Pink: } .cmbox-delete { background-color: #ffdbdb; →Pink: ..." current
- 19:0219:02, 15 December 2024 diff hist +2,163 N Module:Message box/ambox.css Created page with "→{{pp|small=y}}: .ambox { border: 1px solid #a2a9b1; →@noflip: border-left: 10px solid #36c; →Default "notice" blue: background-color: #fbfbfb; box-sizing: border-box; } →Single border between stacked boxes. Take into account base templatestyles, * user styles, and Template:Dated maintenance category. * remove link selector when T200206 is fixed: .ambox + link + .ambox, .ambox + link + style + .ambox, .ambox + link + link + .ambox, /* TODO: rais..." current
- 19:0219:02, 15 December 2024 diff hist +6,546 N Module:Message box/configuration Created page with "-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class = 'ambox-spee..." current
- 19:0119:01, 15 December 2024 diff hist +18,901 N Module:Message box Created 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
- 19:0119:01, 15 December 2024 diff hist +153 N Template:Mbox Created page with "{{#invoke:Message box|mbox}}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! --> </noinclude>" current
- 19:0119:01, 15 December 2024 diff hist +2,419 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|}}} |:: ''{{{h}}}''..." current
- 19:0019:00, 15 December 2024 diff hist +162 N Template:Rcat shell Redirected page to Template:Redirect category shell current Tag: New redirect
- 19:0019:00, 15 December 2024 diff hist +61 N Template:Country data Created page with "{{Rcat shell| {{R from move}} {{R from template shortcut}} }}" current