User contributions for Admin
Jump to navigation
Jump to search
15 December 2024
- 18:4518:45, 15 December 2024 diff hist +4,216 N Module:Pagetype/config Created 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
- 18:4418:44, 15 December 2024 diff hist +8,227 N Module:Pagetype Created page with "-------------------------------------------------------------------------------- -- -- -- This meta-module which automatically detects namespaces, and allows -- -- for a great deal of customisation. It can easily be ported to other -- -- wikis by changing the values in the Module:Pagetype/config. -- --..." current
- 18:4418:44, 15 December 2024 diff hist +179 N Template:Pagetype Created page with "{{<includeonly>safesubst:</includeonly>#invoke:pagetype|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
- 18:4318:43, 15 December 2024 diff hist +1,348 N Template:Short description Created page with "{{#ifeq:{{lc:{{{1|}}}}}|none|<nowiki /><!--Prevents whitespace issues when used with adjacent newlines-->|<div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">{{{1|}}}{{SHORTDESC:{{{1|}}}|{{{2|}}}}}</div>}}<includeonly>{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:{{pagetype |defaultns = all |user=exclude}}|exclude||{{#ifeq:{{#switch: {{NAMESPACENUMBER}} | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 101 | 118 | 11..." current
- 18:4318:43, 15 December 2024 diff hist +2,196 N Module:Infobox/styles.css Created page with "→{{pp|small=y}}: →* This TemplateStyles sheet deliberately does NOT include the full set of * infobox styles. We are still working to migrate all of the manual * infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]] * DO NOT ADD THEM HERE: →* not strictly certain these styles are necessary since the modules now * exclusively output infobox-subbox or infobox, not both * just replicating the module faithfully: .infobox-subbox { padding: 0; borde..." current
- 18:4218:42, 15 December 2024 diff hist +2,922 N Template:Hlist/styles.css Created page with "→{{pp-protected|reason=match parent|small=yes}}: →* hlist styles are defined in core and Minerva and differ in Minerva. The * current definitions here (2023-01-01) are sufficient to override Minerva * without use of the hlist-separated class. The most problematic styles were * related to margin, padding, and the bullet. Check files listed at * [[MediaWiki talk:Common.css/to do#hlist-separated]]: /* * TODO: When the majority of readership supports it (or s..." current
- 18:4218:42, 15 December 2024 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 = ''..." current
- 18:4118:41, 15 December 2024 diff hist +181 N Template:Hlist Created page with "{{<includeonly>safesubst:</includeonly>#invoke:list|horizontal}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
- 18:4118:41, 15 December 2024 diff hist +218 N Template:Plainlist/styles.css Created page with "→{{pp-template|small=yes}}: .plainlist ol, .plainlist ul { line-height: inherit; list-style: none; margin: 0; padding: 0; →Reset Minerva default: } .plainlist ol li, .plainlist ul li { margin-bottom: 0; }" current
- 18:4018:40, 15 December 2024 diff hist +280 N Template:Plainlist Created page with "<templatestyles src="Plainlist/styles.css"/><div class="plainlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}| {{{1}}} </div>}}<noinclude></div> {{documentation}} </noinclude>" current
- 18:3918:39, 15 December 2024 diff hist +4,725 Module:Infobox No edit summary current Tag: Manual revert
- 18:3818:38, 15 December 2024 diff hist +745 N Module:Yesno Created page with "-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses non-ascii characters for any of "yes", "no", etc., you -- should replace "val:lower()" with "mw.ustring.lower(val)" in the -- following line. val = type(val) == 'string' and val:lower() or val if val == nil then return nil elseif val == true or val == 'yes' or val == 'y' or val =..." current
- 18:3818:38, 15 December 2024 diff hist +329 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: 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
- 18:3718:37, 15 December 2024 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
- 18:3718:37, 15 December 2024 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
- 18:3618:36, 15 December 2024 diff hist +3,339 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 function trim(s) return s:match('^%s*(.-)%s*$') end local function isnotempty(s) return s and s:match('%S') end local function clean(text) -- Return text cleaned for display and truncated if too long. -- Strip markers are replaced with dummy text representing..." current
- 18:3618:36, 15 December 2024 diff hist +1,839 Template:Infobox military unit No edit summary
- 18:3218:32, 15 December 2024 diff hist +15,731 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 e..." current
- 18:3218:32, 15 December 2024 diff hist +178 N Template:Remove first word Created page with "{{<includeonly>safesubst:</includeonly>#invoke:String|replace|source={{{1}}}|pattern=^[^{{{sep|%s}}}]*{{{sep|%s}}}*|replace=|plain=false}}<noinclude>{{Documentation}}</noinclude>" current
- 18:3218:32, 15 December 2024 diff hist +184 N Template:Str left Created page with "<includeonly>{{safesubst:padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
- 18:2918:29, 15 December 2024 diff hist +234 N Module:If empty Created page with "local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) for k,v in ipairs(args) do if v ~= '' then return v end end end return p" current
- 18:2918:29, 15 December 2024 diff hist +102 N Template:If empty Created page with "{{<includeonly>safesubst:</includeonly>#invoke:If empty|main}}<noinclude>{{Documentation}}</noinclude>" current
- 18:2818:28, 15 December 2024 diff hist +1,298 N Module:WPMILHIST Infobox style Created page with "local retval = { main_box_raw_auto_width = 'border-spacing:2px;', header_raw = 'background-color:#C3D6EF;color:inherit;text-align:center;vertical-align:middle;font-size:110%;', sub_header_raw = 'background-color:#DCDCDC;color:inherit;text-align:center;vertical-align:middle;', header_color = 'background-color:#C3D6EF;color:inherit;', nav_box = 'margin:0;float:right;clear:right;width:25.5em;margin-bottom:0.5em;margin-left:1em;', nav_box_child = 'margin:0;float:right;..."
- 18:2818:28, 15 December 2024 diff hist +276 N Template:WPMILHIST Infobox style Created page with "<includeonly>{{#switch:{{{1|}}} |main_box=class="{{#if:{{{2|}}}|infobox {{{2}}}|infobox}}" style="{{#invoke:Data|Module:WPMILHIST Infobox style|main_box_raw}}" |{{#invoke:Data|Module:WPMILHIST Infobox style|{{{1|}}}}} }}</includeonly><noinclude> {{documentation}} </noinclude>" current
- 18:2718:27, 15 December 2024 diff hist +85 Template:Template other No edit summary current Tag: Manual revert
- 18:2618:26, 15 December 2024 diff hist −85 Template:Template other No edit summary Tag: Reverted
- 18:2618:26, 15 December 2024 diff hist +435 N Template:Template other Created 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>"
- 18:2518:25, 15 December 2024 diff hist +10,054 N Module:Arguments Created page with "-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val) == 'string'..." current
- 18:2518:25, 15 December 2024 diff hist +8,030 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...." current
- 18:2418:24, 15 December 2024 diff hist −2,205 Module:Navbar No edit summary current
- 18:2318:23, 15 December 2024 diff hist +5,296 N Module:Navbar Created page with "local p = {} local cfg = mw.loadData('Module:Navbar/configuration') local function get_title_arg(is_collapsible, template) local title_arg = 1 if is_collapsible then title_arg = 2 end if template then title_arg = 'template' end return title_arg end local function choose_links(template, args) -- The show table indicates the default displayed items. -- view, talk, edit, hist, move, watch -- TODO: Move to configuration. local show = {true, true, true, false, false..."
- 18:2318:23, 15 December 2024 diff hist +9,894 N Module:InfoboxImage Created 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
- 18:2218:22, 15 December 2024 diff hist −4,725 Module:Infobox No edit summary Tag: Reverted
- 18:1618:16, 15 December 2024 diff hist +340 N Template:Infobox Created 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>" current
- 18:1618:16, 15 December 2024 diff hist +7,457 N Template:Infobox military unit Created page with "<includeonly>{{Infobox | bodystyle = {{WPMILHIST Infobox style|main_box_raw}} | abovestyle = {{WPMILHIST Infobox style|header_raw}} | subheaderstyle = {{WPMILHIST Infobox style|sub_header_raw}} | above = {{{unit_name|{{PAGENAMEBASE}}}}} | subheader = {{{native_name|}}} | imagestyle = {{WPMILHIST Infobox style|image_box_raw}} | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|u..."
- 18:0818:08, 15 December 2024 diff hist +77 N Template:Wpl Created page with "[[Wikipedia:{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude>{{documentation}}</noinclude>" current
- 18:0718:07, 15 December 2024 diff hist +531 6th Queen Elizabeth's Own Gurkha Rifles No edit summary Tag: Visual edit: Switched
- 18:0018:00, 15 December 2024 diff hist 0 File:ORBAT UK 1st Bn 6th Gurkhas.jpg Admin uploaded a new version of File:ORBAT UK 1st Bn 6th Gurkhas.jpg current
- 17:0517:05, 15 December 2024 diff hist +98 N Category:Browse Created page with "The top-level category that should theoretically lead to any article on the '''Case Amber Wiki'''." current
- 16:5916:59, 15 December 2024 diff hist +93 N Category:Countries Created page with "Articles and subcategories related to the '''Countries of Case Amber'''. Category:Browse" current
- 16:5916:59, 15 December 2024 diff hist +85 N Category:Military Created page with "Articles, media and subcategories related to the '''Military'''. Category:Browse" current
- 16:5816:58, 15 December 2024 diff hist +94 N Category:United Kingdom Created page with "Articles, media and subcategories related to the '''United Kingdom'''. Category:Countries" current
- 16:5816:58, 15 December 2024 diff hist +122 N Category:British military Created page with "Articles and media related to the '''Military of the United Kingdom'''. Category:United Kingdom Category:Military" current
- 16:5716:57, 15 December 2024 diff hist +102 N Category:British Army units Created page with "Articles and media related to '''Military Units of the British Army'''. Category:British military"
- 16:5216:52, 15 December 2024 diff hist 0 6th Queen Elizabeth's Own Gurkha Rifles No edit summary Tag: Visual edit: Switched
- 16:5216:52, 15 December 2024 diff hist +45 N File:ORBAT UK 1st Bn 6th Gurkhas.jpg Category:British Army units
- 15:2815:28, 15 December 2024 diff hist +4,640 N 6th Queen Elizabeth's Own Gurkha Rifles Created page with "<center><div class="res-img">Image:ORBAT UK 1st Bn 6th Gurkhas.png</div></center><br> {{Infobox 6th Gurkhas}}The '''6th Queen Elizabeth's Own Gurkha Rifles''', abbreviated as '''6 GR''', is an infantry regiment in the British Army. Alongside other regiments in the Brigade of Gurkhas, the 6th Gurkhas recruit soldiers from Nepal. The regiment currently consists of two regular Powered Infantry Battalions, the only such in a Gurkha regiment. Currently, 1st Battalion is s..."
- 15:2415:24, 15 December 2024 diff hist −1 MediaWiki:Common.css No edit summary
- 15:2415:24, 15 December 2024 diff hist +131 N MediaWiki:Common.css Created page with "→CSS placed here will be applied to all skins: →To make images responsive: .res-img img { max-width:100%; height:auto; }"
- 14:5714:57, 15 December 2024 diff hist +20,533 N Module:Infobox Created 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'..."