User contributions for Sysop
From Drugwiki
1 November 2025
- 20:4720:47, 1 November 2025 diff hist +1,362 N Template:Short description Created page with "{{#ifeq:{{lc:{{{1|}}}}}|none|{{SHORTDESC:}}<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 | 1..." current
- 20:4720:47, 1 November 2025 diff hist +295 N Template:Plain link Created page with "<span class="plainlinks" {{SAFESUBST:<noinclude />#if:{{{title|}}}|title="{{{title}}}"}}>{{SAFESUBST:<noinclude />#if:{{{2|{{{NAME|{{{name|}}}}}}}}} |[{{{1|{{{URL|{{{url}}}}}}}}} {{{2|{{{NAME|{{{name|}}}}}}}}}] |[{{{1|{{{URL|{{{url}}}}}}}}}] }}</span><noinclude> {{documentation}} </noinclude>" current
- 20:4620:46, 1 November 2025 diff hist +569 N Template:What links here Created page with "<includeonly>{{Plain link|url={{fullurl:Special:WhatLinksHere|target={{urlencode:{{{1|{{PAGENAME}}}}}}}{{#ifeq:{{{3|{{{ns|{{{namespace|0}}}}}}}}}|all||&namespace={{NAMESPACENUMBER:{{{3|{{{ns|{{{namespace|0}}}}}}}}}:A}}&limit={{{limit|50}}}}}{{{extraparams|}}}}}|name={{#if:{{{2|}}}|{{{2}}}|Pages that link to "{{{1|{{PAGENAME}}}}}"{{#ifeq:{{{3|{{{ns|{{{namespace|}}}}}}}}}|all|<nowiki /> in all namespaces|{{#if:{{{3|{{{ns|{{{namespace|}}}}}}}}}|<nowiki /> in namespace "{{{3..." current
- 20:4620:46, 1 November 2025 diff hist +169 N Template:Disambiguation page short description Created page with "<includeonly>{{short description|Topics referred to by the same term|noreplace|pagetype = Disambiguation pages}}</includeonly><noinclude> {{Documentation}} </noinclude>" current
- 20:4520:45, 1 November 2025 diff hist +958 N Template:Deleted template Created page with "{{ #ifexpr:{{#time:U|{{REVISIONTIMESTAMP}}}}>{{#time:U|{{{3|now}}}}} |{{ #ifeq:{{NAMESPACE:Template:{{{2|{{PAGENAME}}}}}}}:{{{2|{{PAGENAME}}}}}|{{FULLPAGENAME}} |{{{4|}}} |{{ #if:{{ #ifeq:{{NAMESPACE}}|Template |{{ #switch:{{lc:{{#titleparts:{{FULLPAGENAME}}||-1}}}} |sandbox |testcases = |#default = x }} |x }}..." current
- 20:4220:42, 1 November 2025 diff hist +1,778 N Module:Separated entries Created page with "-- This module takes positional parameters as input and concatenates them with -- an optional separator. The final separator (the "conjunction") can be -- specified independently, enabling natural-language lists like -- "foo, bar, baz and qux". The starting parameter can also be specified. local compressSparseArray = require('Module:TableTools').compressSparseArray local p = {} function p._main(args) local dataPlural = args.dataPlural local separator = args.separator..."
- 20:4120:41, 1 November 2025 diff hist +183 N Template:Str endswith Created page with "{{#ifeq:{{{1|a}}}{{{2|a}}}|{{{1|b}}}{{{2|b}}}|{{#invoke:String|endswith|source={{{1}}}|pattern={{{2}}} }}|yes<!--backward compatibility -->}}<noinclude> {{documentation}} </noinclude>"
- 20:4120:41, 1 November 2025 diff hist +238 N Template:Template link bare Created page with "{{#if:{{str endswith|{{{1}}}|%}} <!--(i.e. if {{{1}}} is a percentage)--> | [[Template:{{{2}}}|<span style="font-size:{{{1}}};">{{{3|{{{2}}}}}}</span>]] | [[Template:{{{1}}}|{{{2|{{{1}}}}}}]] }}<noinclude> {{Documentation}} </noinclude>"
- 20:4020:40, 1 November 2025 diff hist +303 N Template:Module link Created page with "<includeonly>{{{{{{{|safesubst:}}}#invoke:Separated entries|main|[[Module:{{{1}}}{{{section|}}}|#invoke:{{{1}}}]]|{{{2|''function''}}}|separator=|}}}}</includeonly><noinclude>{{documentation}}<!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>"
- 20:3920:39, 1 November 2025 diff hist +12,502 N Module:Icon/data Created page with "-- This module stores icon data for Module:Icon. -------------------------------------------------------------------------------- -- Icon data -------------------------------------------------------------------------------- local data = { fa = { image = "Featured article star.svg", tooltip = "Featured article", link = true, }, far = { image = "Cscr-star piece.png", tooltip = "Featured article review", link = true, }, farc = { image = "Cscr-star p..."
- 20:3820:38, 1 November 2025 diff hist +2,167 N Module:Icon Created page with "-- This module implements Template:Icon. require("strict") local yesNo = require("Module:Yesno") local getArgs = require("Module:Arguments").getArgs local getPlain = nil local p = {} -- Determine whether we're being called from a sandbox local sandbox = mw.getCurrentFrame():getTitle():find('sandbox', 1, true) and '/sandbox' or '' -- Implements Template:Icon -- Returns the icon image corresponding to a string (like 'B') function p._main(args, data) local data..."
- 20:3820:38, 1 November 2025 diff hist +138 N Template:Icon Created page with "{{#invoke:Icon|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
- 20:3720:37, 1 November 2025 diff hist +105 N Template:Category link without namespace Created page with "[[:Category:{{PAGENAME:{{{1}}}}}|{{{2|{{PAGENAME:{{{1}}}}}}}}]]<noinclude> {{Documentation}} </noinclude>"
- 20:3720:37, 1 November 2025 diff hist +1,743 N Template:Unicode templates Created page with "{{Navbox | name = Unicode templates | bodyclass = hlist | title = Unicode templates | basestyle = background:#cef2e0;<!-- documentation green --> | state = {{{state|{{{1|expanded}}}}}} | group1 = General | list1 = * {{tl|Unicode navigation}} | group2 = Inline | list2 = * {{tl|Unichar}} * {{tl|Unichar2}} * {{tl|U+}} * {{tl|GB18030}} * {{tl|Ucname}} * {{Module link|Unicode convert|}} | group3 = Character<br/>properties | list3 = * {{Template link bare|Bidi Class (Un..."
- 20:3620:36, 1 November 2025 diff hist +1,396 N Template:Unichar Created page with "<includeonly>{{unichar/main | hval ={{unichar/hexformat|{{{1|<#salted#>}}} }} | hvalinput ={{{1|}}}<!--to use in errormessage--> | na = {{#if:{{{alias|}}} | {{#invoke:Unicode alias|alias|{{unichar/hexformat|{{{1|}}}}}}} | {{#invoke:Unicode data|lookup|name|{{unichar/hexformat|{{{1|}}}}}}}}} | ulink ={{{ulink|<#salted#>}}} | nlink ={{{nlink|<#salted#>}}} | image ={{{image|}}} | cwith ={{#if:{{{cwith|}}} | {{{cwith}}} | {{#if:{{{cwith}}} || ◌ }} }} | suffix={{{suffi..."
- 20:3620:36, 1 November 2025 diff hist +90 N Template:Transliteration Created page with "<includeonly>{{#invoke:lang|xlit}}</includeonly><noinclude> {{documentation}} </noinclude>" current
- 20:3520:35, 1 November 2025 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>"
- 20:3520:35, 1 November 2025 diff hist +14,260 N Template:Script Created page with "{{#switch:{{{1|}}} <!--scripts with dedicated templates--> <!-- As of 2021-12-03, ISO 15924 and Unicode: 1. This list contains *all* ISO 15924 regular script IDs. By ISO pattern alpha4 = 'Abcd'. 2. Not included: Special codes (ISO number 900-999, e.g. symbols, unk scripts, private scripts): Qaaa..Qabx, Zinh Zmth Zsye Zsym Zxxx Zyyy Zzzz 3. Totals: 204 regular alpha4 script IDs. 4. Depending on font handling, scripts can be commented out, i.e. will use regular fon..." current
- 20:3420:34, 1 November 2025 diff hist +138 N Template:PUA Created page with "{{{1|}}}<includeonly>Category:Articles with wanted Private Use Area characters</includeonly><noinclude> {{documentation}} </noinclude>" current
- 20:3420:34, 1 November 2025 diff hist +89 N Template:IPA Created page with "<includeonly>{{#invoke:IPA|main}}</includeonly><noinclude> {{documentation}} </noinclude>" current
- 20:3220:32, 1 November 2025 diff hist +377 N Template:Dmbox/styles.css Created page with "→{{pp-template}}: .dmbox { display: flex; align-items: center; clear: both; margin: 0.9em 1em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; padding: 0.25em 0.35em; font-style: italic; } .dmbox > * { flex-shrink: 0; margin: 0 0.25em; } .dmbox-body { flex-grow: 1; flex-shrink: 1; padding: 0.1em 0; } .dmbox-invalid-type { text-align: center; }" current
- 20:3220:32, 1 November 2025 diff hist +1,988 N Template:Dmbox Created page with "<templatestyles src="Dmbox/styles.css" /> <div role="note" id="{{#switch:{{{type|}}} | setindex = setindexbox | disambig | #default = disambigbox }}" class="metadata plainlinks dmbox {{#switch:{{{type|}}} | setindex = dmbox-setindex | disambig | #default = dmbox-disambig }} {{{class|}}}">{{#ifeq:{{{image|}}}|none| | {{#if:{{{image|}}} | <div>{{{image}}}</div> | File:{{#switch:{{{type|}}} | setindex = DAB list gray.svg | disambig <!-- disamb..." current
- 20:3120:31, 1 November 2025 diff hist +947 N Template:Template disambiguation Created page with "{{Dmbox | type = disambig | text = <includeonly>{{#if:{{{nocat|}}}||{{Disambiguation page short description}}}}</includeonly> This is an unused template to list other templates associated with a similar title or shortcut.<br /><small>If an {{What links here|1={{FULLPAGENAME}}|ns=all|extraparams=&hidelinks{{=}}1&hideredirs{{=}}1|2=internal transclusion|limit=100}} led you here, you may wish to change it to point directly to the intended page.</small> | n..." current
- 20:2720:27, 1 November 2025 diff hist +2,746 N Module:Message box/cmbox.css Created page with "→{{pp|small=y}}: .cmbox { margin: 3px 0; border: 1px solid #a2a9b1; background-color: #dfe8ff; →Default "notice" blue: box-sizing: border-box; overflow-x: hidden; →necessary when embedded in other templates like [[:Category:Pending_AfC_submissions]]: color: var(--color-base, #202122); } .cmbox-speedy { border: 4px solid #b32424; →Red: background-color: #ffdbdb; →Pink: } .cmbox-delete { background-color: #ffdbdb; →Pink: ..." current
- 20:2420:24, 1 November 2025 diff hist +46,537 N Module:Protection banner/config Created page with "-- This module provides configuration data for Module:Protection banner. return { -------------------------------------------------------------------------------- -- -- BANNER DATA -- -------------------------------------------------------------------------------- --[[ -- Banner data consists of six fields: -- * text - the main protection text that appears at the top of protection -- banners. -- * explanation - the text that appear..."
- 20:2420:24, 1 November 2025 diff hist +1,494 N Module:Effective protection expiry Created page with "local p = {} -- Returns the expiry of a restriction of an action on a given title, or unknown if it cannot be known. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename.prefixedText then title = pagename elseif pagename then title = mw.title.new(pagename) else title = mw.title.getCurrentTitle() end pagename = title.prefixedText if action == 'auto..."
- 20:2320:23, 1 November 2025 diff hist +2,544 N Module:File link Created page with "-- This module provides a library for formatting file wikilinks. local yesno = require('Module:Yesno') local checkType = require('libraryUtil').checkType local p = {} function p._main(args) checkType('_main', 1, args, 'table') -- This is basically libraryUtil.checkTypeForNamedArg, but we are rolling our -- own function to get the right error level. local function checkArg(key, val, level) if type(val) ~= 'string' then error(string.format( "type error in..."
- 20:2320:23, 1 November 2025 diff hist +26,590 N Module:Protection banner Created page with "-- This module implements {{pp-meta}} and its daughter templates such as -- {{pp-dispute}}, {{pp-vandalism}} and {{pp-sock}}. -- Initialise necessary modules. require('strict') local makeFileLink = require('Module:File link')._main local effectiveProtectionLevel = require('Module:Effective protection level')._main local effectiveProtectionExpiry = require('Module:Effective protection expiry')._main local yesno = require('Module:Yesno') -- Lazily initialise modules and..."
- 20:2220:22, 1 November 2025 diff hist +76 N Template:Pp Created page with "{{#invoke:Protection banner|main}}<noinclude> {{documentation}} </noinclude>"
- 20:2120:21, 1 November 2025 diff hist +146 N Template:Ombox Created page with "{{#invoke:Message box|ombox}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
- 20:2020:20, 1 November 2025 diff hist +5,116 N Module:Transclusion count/data/M Created page with "return { ["M"] = 2300, ["MAD"] = 2200, ["MAR"] = 3000, ["MAS"] = 3000, ["MDA"] = 2000, ["MDG"] = 2400, ["MEX"] = 6700, ["MINUTE"] = 2300, ["MKD"] = 2500, ["MLB_Farm_System"] = 2200, ["MLB_Year"] = 16000, ["MLB_standings"] = 3900, ["MLB_standings/styles.css"] = 3900, ["MLBplayer"] = 4100, ["MMA_record_start"] = 3600, ["MMArecordbox"] = 3700, ["MMSI_Number"] = 3200, ["MONTH"] = 20000, ["MONTHNAME"] = 606000, ["MONTHNUMBER"] = 638000, ["MS"] = 5700, ["MV"] = 9800, ["MYS"] =..." current
- 20:2020:20, 1 November 2025 diff hist +3,660 N Module:Effective protection level Created page with "local p = {} -- Returns the permission required to perform a given action on a given title. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename.prefixedText then title = pagename elseif pagename then title = mw.title.new(pagename) else title = mw.title.getCurrentTitle() end pagename = title.prefixedText if action == 'autoreview' then local level..."
- 20:1920:19, 1 November 2025 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..."
- 20:1920:19, 1 November 2025 diff hist −5,993 Template:Namespace detect Replaced content with "{{SAFESUBST:<noinclude />#invoke:Namespace detect|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" Tags: Replaced Manual revert
- 20:1820:18, 1 November 2025 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..."
- 20:1820:18, 1 November 2025 diff hist +5,993 Template:Namespace detect No edit summary Tag: Reverted
- 20:1820:18, 1 November 2025 diff hist +173 N Template:Namespace detect Created page with "{{SAFESUBST:<noinclude />#invoke:Namespace detect|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>"
- 20:1720:17, 1 November 2025 diff hist +477 N Template:Cascade-protected template Created page with "{{mbox | type = protection | image = 40x40px|link=|alt= | text = This {{{page|template}}} can only be edited by administrators because it is transcluded onto one or more cascade-protected pages. }}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> </noinclude>" current
- 20:1520:15, 1 November 2025 diff hist +16,577 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...."
- 20:1520:15, 1 November 2025 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 = ''..."
- 20:1420:14, 1 November 2025 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)..."
- 20:1420:14, 1 November 2025 diff hist +26,174 N Module:Transclusion count/data/I Created page with "return { ["IAST"] = 6300, ["IBDB_name"] = 9600, ["ICD10"] = 5000, ["ICD9"] = 4400, ["ICS"] = 3400, ["ICS_flag"] = 3400, ["IDN"] = 3700, ["IMDb_episode"] = 11000, ["IMDb_episodes"] = 4000, ["IMDb_name"] = 167000, ["IMDb_title"] = 206000, ["IMO_Number"] = 4300, ["IMSLP"] = 8900, ["INA"] = 2300, ["IND"] = 8500, ["INR"] = 6400, ["INRConvert"] = 6400, ["INRConvert/CurrentRate"] = 6300, ["INRConvert/USD"] = 6300, ["INRConvert/out"] = 6300, ["IOBDB_name"] = 2100, ["IP"] = 2800,..." current
- 20:1320:13, 1 November 2025 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
- 20:1220:12, 1 November 2025 diff hist +1,097 N Module:Purge Created page with "-- This module implements Template:Purge. local p = {} local function makeUrlLink(url, display) return string.format('[%s %s]', url, display) end function p._main(args) -- Make the URL local url do local title if args.page then title = mw.title.new(args.page) if not title then error(string.format( "'%s' is not a valid page name", args.page ), 2) end else title = mw.title.getCurrentTitle() end if args.anchor then title..." current
- 20:1220:12, 1 November 2025 diff hist +64 N Template:Purge Created page with "{{#invoke:Purge|main}}<noinclude> {{documentation}} </noinclude>" current
- 20:1020:10, 1 November 2025 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..."
- 20:1020:10, 1 November 2025 diff hist +441 N Template:Sandbox other Created page with "<onlyinclude>{{safesubst:<noinclude/>#if:{{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>#invoke:String|sublength|s={{safesubst:<noinclude/>SUBPAGENAME}}|i=0|len=7}}|sandbox|1}}{{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>SUBPAGENAME}}|doc|1}}{{safesubst:<noinclude/>#invoke:String|match|{{safesubst:<noinclude/>PAGENAME}}|/sandbox/styles.css$|plain=false|nomatch=}}|{{{1|}}}|{{{2|}}}}}</onlyinclude><!-- -->{{documentation}}"
- 20:0920:09, 1 November 2025 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
- 20:0820:08, 1 November 2025 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
- 20:0620:06, 1 November 2025 diff hist +120 N Template:P2 Created page with "{{{2}}}<noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" current