21 May 2022
- 18:3018:30, 21 May 2022 diff hist +1,678 N Module:Ns has subpages Created page with "-- This module implements Template:Ns has subpages. -- While the template is fairly simple, this information is made available to -- Lua directly, so using a module means that we don't have to update the -- template as new namespaces are added. local p = {} function p._main(ns, frame) -- Get the current namespace if we were not passed one. if not ns then ns = mw.title.getCurrentTitle().namespace end -- Look up the namespace table from mw.site.namespaces. Thi..."
- 18:3018:30, 21 May 2022 diff hist +185 N Template:Ns has subpages Created page with "{{<includeonly>safesubst:</includeonly>#invoke:Ns has subpages|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>"
- 18:2918:29, 21 May 2022 diff hist +836 N Module:Protect Created page with "local function processResult(options, success, ...) if not success then local message = tostring(... or '(no message)') if options.removeLocation then message = string.gsub(message, '^Module:[^:]+:%d+: ', '', 1) end return string.format(options.errFormat, message) end return ... end local function protect(func, errFormat, options) if type(errFormat) == 'table' then options = options or errFormat errFormat = nil end options = mw.clone(options) or {}..." current
- 18:2918:29, 21 May 2022 diff hist +470 N Template:FULLROOTPAGENAME Created page with "{{ safesubst:<noinclude/>#if: {{ safesubst:<noinclude/>Ns has subpages | {{ safesubst:<noinclude/>#if:{{{1|}}}|{{ safesubst:<noinclude/>NAMESPACE:{{{1}}}}}|{{ safesubst:<noinclude/>NAMESPACE}}}} }} | {{ safesubst:<noinclude/>#titleparts:{{ safesubst:<noinclude/>#if:{{{1|}}}|{{{1}}}|{{ safesubst:<noinclude/>FULLPAGENAME}}}}|1}} | {{ safesubst:<noinclude/>#if:{{{1|}}}|{{{1}}}|{{ safesubst:<noinclude/>FULLPAGENAME}}}} }}<noinclude> {{documentation}} </noinclude>"
- 18:2918:29, 21 May 2022 diff hist +911 N Module:CallAssert Created page with "local function pack(...) return {...}, select('#', ...) end local function mapArray(func, array, count) local result = {} for i = 1, count or #array do result[i] = func(array[i]) end return result end local function quote(value) if type(value) == 'string' then return (string.gsub(string.format('%q', value), '\\\n', '\\n')) -- Outer parentheses remove second value returned by gsub end local str = tostring(value) if type(value) == 'table' and str ~= 'table'..." current
- 18:2818:28, 21 May 2022 diff hist +655 N Template:MONTHNUMBER Created page with "<includeonly>{{#if:{{{1|}}} |{{#switch:{{lc:{{{1}}}}} |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{#ifexpr:{{{1}}}<0 |{{#ifexpr:(({{{1}}})round 0)!=({{{1}}}) |{{#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}} |{{#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}} }} |{{#expr:(((10.5+{{{1}}})round 0)mod 12)+1}}..." current
- 18:2818:28, 21 May 2022 diff hist +660 N Template:Dated maintenance category Created page with "<nowiki/><!--This nowiki helps to prevent whitespace at the top of articles-->{{#ifeq:{{FULLROOTPAGENAME}}|Wikipedia:Template messages|<!--Do not categorize-->|<!-- -->{{#ifexpr:{{#if:{{NAMESPACE}}|0|1}}+{{#ifeq:{{{onlyarticles|no}}}|yes|0|1}} |{{#if:{{{3|}}} |[[Category:{{{1}}} {{{2}}} {{{3}}}]]<!-- -->{{#ifexist:Category:{{{1}}} {{{2}}} {{{3}}} |<!-- -->|Category:Articles with invalid date parameter in template<!-- -->}} |Category:{{#if:{{{5|}}}..."
- 18:2818:28, 21 May 2022 diff hist +1,101 N Module:Page tabs Created page with "-- This module implements {{Page tabs}}. local getArgs = require('Module:Arguments').getArgs local yesno = require('Module:Yesno') local p = {} function p.main(frame) local args = getArgs(frame) return p._main(args) end function p._main(args) local makeTab = p.makeTab local root = mw.html.create() root:wikitext(yesno(args.NOTOC) and '__NOTOC__' or nil) local row = root:tag('div') :css('background', args.Background or '#f8fcff') :addClass('template-page-tabs..." current
- 18:2718:27, 21 May 2022 diff hist +582 N Template:Page tabs/styles.css Created page with ".template-page-tabs { background: #F8FCFF; width: 100%; display: flex; flex-wrap: wrap; margin-bottom: -4px; } .template-page-tabs > span { padding: 0.5em; line-height: 0.95em; border: solid 2px #a3b1bf; white-space: nowrap; margin-bottom: 4px; } .template-page-tabs > span.spacer { display: flex; →hides any whitespace we put inside: padding: 0; flex: 9px; border-width: 0 0 2px 0; } .template-page-tabs > span.spacer:last-child { /* We want this to ge..." current
- 18:2718:27, 21 May 2022 diff hist +197 N Template:Page tabs Created page with "<templatestyles src="Template:Page tabs/styles.css" />{{#invoke:page tabs|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
- 18:2618:26, 21 May 2022 diff hist +387 N Template:MONTHNAME Created page with "<includeonly>{{#if:{{{1|}}}|{{#switch:{{MONTHNUMBER|{{{1}}}}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=''month''!}}|Missing required parameter 1=''month''!}}</includeonly><noinclude> {{Documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>" current
- 18:2618:26, 21 May 2022 diff hist +197 N Template:DMCA Created page with "{{Dated maintenance category |onlyarticles=yes |1={{{1|}}} |2={{{2|}}} |3={{{3|}}} |4={{{4|}}} |5={{{5|}}} }}<noinclude> {{documentation|Template:Dated maintenance category/doc}} </noinclude>"
- 18:2618:26, 21 May 2022 diff hist +323 N Template:Center Created page with "<includeonly><div class="center" style="width:auto; margin-left:auto; margin-right:auto;{{#if: {{{style|}}} | {{{style}}};}}">{{{1|Category:Pages using center with no arguments}}}</div></includeonly><noinclude> {{documentation}} <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> </noinclude>" current
- 18:2518:25, 21 May 2022 diff hist +1,915 N Module:Page Created page with "local callAssert = require('Module:CallAssert') local function main(frame, field) local args, pargs = frame.args, ( frame:getParent() or {} ).args or {} local makeTitle=args.makeTitle or pargs.makeTitle local namespace=args.namespace or pargs.namespace or "" local fragment=args.fragment or pargs.fragment or "" local interwiki=args.interwiki or pargs.interwiki or "" local page=args.page or args[1] or pargs.page or pargs[1] or "" local id= tonumber( args.id or parg..." current
- 18:2518:25, 21 May 2022 diff hist +4,726 N Module:Example Created page with "local p = {}; --All Lua modules on Stiles.casa Wiki must begin by defining a variable --that will hold their externally accessible functions. --Such variables can have whatever name you want and may --also contain various data as well as functions. p.hello = function( frame ) --Add a function to "p". --Such functions are callable in Stiles.casa Wiki..."
- 18:2418:24, 21 May 2022 diff hist +1,262 N Template:WikiProject Lua header Created page with "{{page tabs |1=<span style="margin: -5px 0;display:inline-block">22px|link=SW:Lua</span> SW:Lua |2=(talk) |3=Help |4=To do |5=Resources |6=Reference manual |This={{#switch:{{FULLPAGENAME}}| Stiles.casa Wiki:Lua = 1 | Stiles.casa Wiki talk:Lua = 2 | Help:Lua = 3 | Stiles.casa Wiki:Lua/To do..." current
- 18:2318:23, 21 May 2022 diff hist +146 N Template:Section link Created page with "{{#invoke:Section link|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>"
- 18:2318:23, 21 May 2022 diff hist +1,896 N Template:Namespaces Created page with "{| class="wikitable floatright" style="text-align: center; width:21.5em;; font-size: 90%" |+ Stiles.casa Wiki data structure ! colspan="4" style="background:#d3d3d3;" |{{center| Namespaces}} |- ! colspan="2" style="background:#ddd;" | Subject namespaces ! colspan="2" style="background:#ddd;" | Help:Talk pages|Talk namespac..." current
- 18:2218:22, 21 May 2022 diff hist +2,627 N Template:As of Created page with "<!--{{As of}} begin--><includeonly><!-- ## param 1 is the year ## optional param 2 is the month ## optional param 3 is the day of the month ## optional named parameter alt=[text] is alternative display text (may include wiki markup) ## optional named parameter df=US produces American date format in displayed text ## optional named parameter lc=on gives lower-case-first output ## optional named parameter url=[URL] gives statement reference ## displayed text ([A/a]s of [..." current
- 18:2118:21, 21 May 2022 diff hist +10,310 N Stiles Wiki:Lua Created page with "{{short description|Stiles.casa Wiki project page for MediaWiki Lua modules}} {{WikiProject Lua header}} {{Information page}} {{Namespaces}} Lua is a programming language that is available via the Scribunto MediaWiki extension on the English Stiles.casa Wiki. Since February 2013, Lua code can be embedded into wiki templates by employing the "<nowiki>{{#invoke:}}</nowiki>" functionality of Scribunto. This exte..." current
- 18:1918:19, 21 May 2022 diff hist 0 Template:R from template shortcut No edit summary current
- 18:1918:19, 21 May 2022 diff hist 0 Template:R to redirect template No edit summary current
- 18:1918:19, 21 May 2022 diff hist 0 Template:R from shortcut No edit summary current
- 18:1818:18, 21 May 2022 diff hist +2,170 N Module:RedirectData Created page with "local p = {} function p.getRedirectToNamespace(frame) titleObject = mw.title.getCurrentTitle() -- check if this is a redirect if titleObject.redirectTarget then targetNamespace = titleObject.redirectTarget.nsText return targetNamespace end return "Notaredirect" end function p.getTalkPage(frame) -- this is code written to check for the criteria to apply {{R to talk page}} - essentially, whether the redirect is outside of, and going into, a talk namespace titleO..." current
- 18:1818:18, 21 May 2022 diff hist 0 Template:R from template shortcut No edit summary
- 18:1718:17, 21 May 2022 diff hist +13 Module:Redirect template No edit summary current
- 18:1618:16, 21 May 2022 diff hist +21 Template:Redirect category shell No edit summary current
- 18:1518:15, 21 May 2022 diff hist +21 Template:Rcat shell No edit summary
- 18:1418:14, 21 May 2022 diff hist +14 Template:This is a redirect/rcat No edit summary current
- 18:1318:13, 21 May 2022 diff hist +672 Template:Stiles.casa Wiki help pages No edit summary current
- 18:1218:12, 21 May 2022 diff hist +70 Template:Stiles.casa Wiki how to No edit summary current
- 18:1118:11, 21 May 2022 diff hist +106 N Template:Trim Created page with "<includeonly>{{safesubst:#if:1|{{{x|{{{1|}}}}}}}}</includeonly><noinclude> {{Documentation}} </noinclude>"
- 18:1018:10, 21 May 2022 diff hist +473 N Template:Edit Created page with "<span class="noprint plainlinks" title="{{#if:{{{tooltip|}}}|{{{tooltip}}}|Edit {{{1}}}}}">[{{fullurl:{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}|action=edit{{#if:{{{section|}}}|§ion={{{section}}}}}{{#if:{{{editintro|}}}|&editintro={{urlencode:{{{editintro}}}|wiki}}}}{{#if:{{{preload|}}}|&preload={{urlencode:{{{preload}}}|wiki}}}}{{#if:{{{preloadtitle|}}}|&preloadtitle={{urlencode:{{{preloadtitle}}}}}}}}} {{{2|edit}}}]</span><noinclude> {{documentation}} </noinclude>" current
- 18:1018:10, 21 May 2022 diff hist +1,253 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..."
- 18:1018:10, 21 May 2022 diff hist +1,253 N Template:R from template 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..."
- 18:0918:09, 21 May 2022 diff hist +621 N Template:R to redirect template Created page with "<noinclude>{{This is a redirect/rcat}} </noinclude>{{Redirect template |id=R to redirect template |name=To a redirect category (rcat) template |from=an alias/shortcut (usually), or from a redirect that is the result of a page move/rename, |to=a redirect category (rcat) template |template category=Redirects to redirect templates |other category=Redirects to template namespace |printworthy=no }}<includeonly>{{{category|Category:Redirects to redi..."
- 18:0918:09, 21 May 2022 diff hist +2,331 N Template:Redirect category shell Created page with "{{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}}}'' }}<!-- Automatical..."
- 18:0818:08, 21 May 2022 diff hist +125 N Template:R tsh Redirected page to Template:R from shortcut current Tag: New redirect
- 18:0818:08, 21 May 2022 diff hist +3,115 N Module:Redirect template Created page with "require('Module:No globals') 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, '[[H..."
- 18:0718:07, 21 May 2022 diff hist +75 N Template:Redirect template Created page with "{{#invoke:Redirect template|main}}<noinclude> {{Documentation}}</noinclude>" current
- 18:0718:07, 21 May 2022 diff hist 0 N File:Symbol redirect arrow with gradient.svg No edit summary current
- 18:0618:06, 21 May 2022 diff hist +127 N Template:Smallcaps/styles.css Created page with "→Styling for Template:Smallcaps: span.smallcaps { font-variant: small-caps; } span.smallcaps-smaller { font-size: 85%; }"
- 18:0618:06, 21 May 2022 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>"
- 18:0518:05, 21 May 2022 diff hist +1,559 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 = 25px|link= '''This page is a Wikipedia:Redirect|red..."
- 18:0518:05, 21 May 2022 diff hist +982 N Template:R related Created page with "<noinclude>{{This is a redirect/rcat}} </noinclude>{{Redirect template |id=R from related word |name=From a related word or phrase |from=a word (or phrase) |to=a page title that is related in some way. This redirect might be a good search term, or it could be a candidate for a Wiktionary link |info=** Redirects from related words are not properly redirects from alternative spellings of the same word. The..." current
- 18:0418:04, 21 May 2022 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>"
- 18:0418:04, 21 May 2022 diff hist +2,331 N Template:Rcat shell Created page with "{{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}}}'' }}<!-- Automatical..."
- 18:0318:03, 21 May 2022 diff hist +69 N Template:Define Redirected page to Template:Abbr current Tag: New redirect
- 18:0318:03, 21 May 2022 diff hist +245 N Template:Abbr Created page with "<abbr {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} title="{{#tag:nowiki|{{#invoke:String|replace|{{{2|}}}|"|"}}}}">{{{1|}}}</abbr><noinclude>{{Documentation}} </noinclude>" current
- 18:0218:02, 21 May 2022 diff hist +195 N Template:Subst Created page with "{{subst:{{#if:{{{1|}}}|[[Template:{{{1}}}|{{{1}}}]]}}}}<noinclude> {{Documentation}} <!-- Please add categories to the /doc subpage; interwikis go to Wikidata --> </noinclude>" current