User contributions for Bigwig

A user with 7,964 edits. Account created on 11 December 2023.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

18 December 2023

  • 17:5717:57, 18 December 2023 diff hist +4,323 N Module:Template link generalCreated page with "-- This implements Template:Tlg local getArgs = require('Module:Arguments').getArgs 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:' .. s end local ns = s:sub(1, i - 1) if ns == '' or mw.site.namespaces[ns] then return s else return 'Template:' .. s end end local function trimTemplate(..." current
  • 17:5617:56, 18 December 2023 diff hist +6,220 N Module:TNTCreated 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..." current
  • 17:5517:55, 18 December 2023 diff hist +28,918 N Module:TranscluderCreated page with "local p = {} -- Helper function to test for truthy and falsy values local function truthy(value) if not value or value == '' or value == 0 or value == '0' or value == 'false' or value == 'no' then return false end return true end -- Helper function to match from a list regular expressions -- Like so: match pre..list[1]..post or pre..list[2]..post or ... local function matchAny(text, pre, list, post, init) local match = {} for i = 1, #list do match = { mw.ustri..." current
  • 17:5417:54, 18 December 2023 diff hist +3,545 N Module:Namespace detect/configCreated 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
  • 17:5317:53, 18 December 2023 diff hist +2,569 N Module:Namespace detect/dataCreated 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
  • 17:5317:53, 18 December 2023 diff hist +1,639 N Template:Documentation/styles.cssCreated page with ".documentation { display: flex; box-sizing: border-box; flex-direction: column; margin: 1.6rem 0; padding-top: 1.6rem; border-top: 1px solid; border-color: var( --border-color-base ); border-radius: var( --border-radius--medium ); font-size: 0.875rem; } .documentation-header { margin-top: 0; margin-bottom: 0.8rem; color: var( --color-base--emphasized ); font-size: 1.25rem; font-weight: 600; line-height: 1.2; } .documentation-subheader { margin: -0.6r..." current
  • 17:5217:52, 18 December 2023 diff hist +5,992 N Module:Namespace detectCreated 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
  • 17:5117:51, 18 December 2023 diff hist +3,452 N Module:Pagetype/configCreated 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
  • 17:5017:50, 18 December 2023 diff hist +6,396 N Module:PagetypeCreated page with "-------------------------------------------------------------------------------- -- -- -- PAGETYPE -- -- -- -- This is a meta-module intended to replace {{pagetype}} and similar -- -- templates. It automatically detects namespaces, and allows for..." current
  • 17:4917:49, 18 December 2023 diff hist +415 N Module:Hatnote/styles.cssCreated 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; }" current
  • 17:4717:47, 18 December 2023 diff hist +10,054 N Module:ArgumentsCreated 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
  • 17:4717:47, 18 December 2023 diff hist +1,837 N Module:MboxCreated page with "local libraryUtil = require( 'libraryUtil' ) local checkType = libraryUtil.checkType local mArguments -- lazily initialise Module:Arguments local mError -- lazily initialise Module:Error local p = {} --- Helper function to throw error -- -- @param msg string - Error message -- -- @return string - Formatted error message in wikitext local function makeWikitextError( msg ) mError = require( 'Module:Error' ) return mError.error{ message = 'Error: ' .. msg .. '..." current
  • 17:4617:46, 18 December 2023 diff hist +6,544 N Module:Format linkCreated page with "-- Imported from: https://en.wikipedia.org/wiki/Module:Format_link -------------------------------------------------------------------------------- -- 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. -----------------------------------------..." current
  • 17:4517:45, 18 December 2023 diff hist +7,451 N Module:Hatnote listCreated page with "-------------------------------------------------------------------------------- -- Module:Hatnote list -- -- -- -- This module produces and formats lists for use in hatnotes. In particular, -- -- it implements the for-see list, i.e. lists of "For X, see Y" statements, -- -- as used in {{about}}, {{redirect}}, and their variants. Also introd..." current
  • 17:4517:45, 18 December 2023 diff hist +920 N Module:User errorCreated page with "-------------------------------------------------------------------------------- -- A less intimidating version of the built-in "error()" function, to help -- editors fix their mistakes when transcluding a template. -- -- @see wikia:w:c:Dev:Module:User error for a similar module. -------------------------------------------------------------------------------- local checkType = require("libraryUtil").checkType; return function (message, ...) checkType("Module:User..." current
  • 17:4417:44, 18 December 2023 diff hist +16,313 N Module:DPLluaCreated page with "-- <nowiki> local dpl = {} local libraryUtil = require( 'libraryUtil' ) local hasContent = require( 'Module:Paramtest' ).has_content local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg dpl.pipe = '¦' local dataContentMarker = '`#@@#`' local allIncludedParamNames = {} -- Custom function for splitting a string because mw.text.split() is waaay too slow local function split( str, pattern, plain ) local res = {} local con..." current
  • 17:4417:44, 18 December 2023 diff hist +2,892 N Module:ParamtestCreated page with "-- Imported from: https://runescape.wiki/w/Module:Paramtest --[[ {{Helper module |name=Paramtest |fname1 = is_empty(arg) |ftype1 = String |fuse1 = Returns true if arg is not defined or contains only whitespace |fname2 = has_content(arg) |ftype2 = String |fuse2 = Returns true if arg exists and does not only contain whitespace |fname3 = default_to(arg1,arg2) |ftype3 = String, Any value |fuse3 = If arg1 exists and does not only contain whitespace, the function returns arg1..." current
  • 17:4217:42, 18 December 2023 diff hist +7,258 N Module:HatnoteCreated 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
  • 17:4117:41, 18 December 2023 diff hist +1,039 N Module:YesnoCreated page with "-- Imported from: https://en.wikipedia.org/wiki/Module:Yesno -- 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..." current
  • 17:4117:41, 18 December 2023 diff hist +30,594 N Module:ArrayCreated page with "-- Imported from: https://runescape.wiki/w/Module:Array local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti ---@class Array ---@operator call(any[]): Array ---@operator concat(any[]): Array ---@operator concat(number|string|function): string ---@operator unm: Array ---@operator add(number|number[]|Array): Array ---@operator sub(number|number[]|Array): Array ---@operator mul(number|number[]..." current
  • 17:3917:39, 18 December 2023 diff hist +1,586 N Module:AboutCreated page with "local mArguments --initialize lazily local mHatnote = require('Module:Hatnote') local mHatList = require('Module:Hatnote list') local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local p = {} function p.about (frame) -- A passthrough that gets args from the frame and all mArguments = require('Module:Arguments') args = mArguments.getArgs(frame) return p._about(args) end function p._about (args, options) -- Produces "about" hatnote...." current
  • 17:3817:38, 18 December 2023 diff hist +18,033 N Module:StringCreated 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..." current
  • 17:1517:15, 18 December 2023 diff hist +132 N Template:StatsbarCreated page with "<includeonly>{{#invoke:Statsbar|statsbar}}</includeonly><noinclude> {{/doc}} <!-- Categories go in the /doc subpage --> </noinclude>" current
  • 17:1217:12, 18 December 2023 diff hist +40 N Template:TshRedirected page to Template:Template shortcut current Tag: New redirect
  • 17:1217:12, 18 December 2023 diff hist +175 N Template:Template link with link offCreated page with "<includeonly>{{#Invoke:Template link general|main|nowrap=yes|nolink=yes}}</includeonly><noinclude> {{/doc}} <!-- Add categories to the /doc subpage, not here! --> </noinclude>" current
  • 17:1217:12, 18 December 2023 diff hist +50 N Template:TlfRedirected page to Template:Template link with link off current Tag: New redirect
  • 17:1117:11, 18 December 2023 diff hist +44 N Template:TlgRedirected page to Template:Template link general current Tag: New redirect
  • 17:1017:10, 18 December 2023 diff hist +159 N Template:ShortcutCreated page with "<includeonly>{{#invoke:Shortcut|main}}</includeonly><noinclude>{{/doc}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 17:0917:09, 18 December 2023 diff hist +86 N Template:Short descriptionCreated page with "{{#if:{{{1|}}}|{{SHORTDESC:{{{1|}}}}}|{{SHORTDESC:}}}}<noinclude> {{/doc}}</noinclude>" current
  • 17:0917:09, 18 December 2023 diff hist +40 N Template:SHORTDESCRedirected page to Template:Short description current Tag: New redirect
  • 17:0917:09, 18 December 2023 diff hist +294 N Template:Plain linkCreated page with "<!-- The {{#if:1|...}} trims any leading and trailing whitespace without breaking <nowiki> like {{#sub:...}} does: --> <onlyinclude><span class="plainlinks">[{{<includeonly>safesubst:</includeonly>#if:1|{{{1|{{{URL|{{{url}}}}}}}}} {{{2|{{{NAME|{{{name|}}}}}}}}}}}]</span></onlyinclude> {{/doc}}" current
  • 17:0917:09, 18 December 2023 diff hist +183 N Template:ParaCreated page with "<code class="nowrap" {{#if:{{{plain|}}}|style="border:none;background-color:inherit;color:inherit;"}}>|{{#if:{{{1|}}}|{{{1}}}=}}{{{2|}}}</code><noinclude>{{/doc}}</noinclude>" current
  • 17:0817:08, 18 December 2023 diff hist +692 N Template:TagCreated 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 = |s|single |o|open |p|pair = <{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}} }}<!-- Content between tags -->{{#switch:{{{2|pair}}} |c|close = {{{content|}}} |s|single = /> |o|open = >{{{content|}}} |p|pair = {{#ifeq:{{{1|tag}}}|!--||>}}{{{c..." current
  • 17:0817:08, 18 December 2023 diff hist +96 N Template:Template shortcutCreated page with "<includeonly>{{#invoke:Shortcut|main|template=yes}}</includeonly><noinclude>{{/doc}}</noinclude>" current
  • 17:0817:08, 18 December 2023 diff hist +56 N Template:Time agoCreated page with "{{#invoke:Time ago|main}}<noinclude>{{/doc}}</noinclude>" current
  • 17:0717:07, 18 December 2023 diff hist +3,297 N Template:Template link general/docCreated page with "{{Documentation}} {{Wikipedia template}} {{tsh|{{{1|tlg}}}|{{{2|}}}}} This template, often abbreviated as {{tlf|{{#switch:{{lc:{{ROOTPAGENAME}}}} | tlg | template link general = tlg | tlb | template link with bold = tlb | tlc | template link code = tlc | tlw ||template link with linked braces = tlw | tlf | template link with link off = tlf | tltss | template link with title span, subst = tltss | tlx | template link expanded = tlx | tlxb | template link expanded with bo..." current
  • 17:0717:07, 18 December 2023 diff hist +88 N Template:Template link generalCreated page with "{{{{{|safesubst:}}}#Invoke:Template link general|main}}<noinclude> {{/doc}} </noinclude>" current
  • 17:0717:07, 18 December 2023 diff hist +44 N Template:TlRedirected page to Template:Template link general current Tag: New redirect
  • 17:0717:07, 18 December 2023 diff hist +3,297 N Template:Template link expanded/docCreated page with "{{Documentation}} {{Wikipedia template}} {{tsh|{{{1|tlg}}}|{{{2|}}}}} This template, often abbreviated as {{tlf|{{#switch:{{lc:{{ROOTPAGENAME}}}} | tlg | template link general = tlg | tlb | template link with bold = tlb | tlc | template link code = tlc | tlw ||template link with linked braces = tlw | tlf | template link with link off = tlf | tltss | template link with title span, subst = tltss | tlx | template link expanded = tlx | tlxb | template link expanded with bo..." current
  • 17:0617:06, 18 December 2023 diff hist +134 N Template:Template link expandedCreated page with "{{#Invoke:Template link general|main|code=on}}<noinclude> {{/doc}} <!-- Add categories to the /doc subpage, not here! --> </noinclude>" current
  • 17:0617:06, 18 December 2023 diff hist +45 N Template:TlxRedirected page to Template:Template link expanded current Tag: New redirect
  • 17:0617:06, 18 December 2023 diff hist +356 N Template:TnullCreated page with "<code>{{{{#if:{{{1|}}}|{{{1}}}| tnull|...}}{{#if:{{{2|}}}||{{{2}}}|}}{{#if:{{{3|}}}||{{{3}}}|}}{{#if:{{{4|}}}||{{{4}}}|}}{{#if:{{{5|}}}||{{{5}}}|}}{{#if:{{{6|}}}||{{{6}}}|}}{{#if:{{{7|}}}||{{{7}}}|}}{{#if:{{{8|}}}||{{{8}}}|}}{{#if:{{{9|}}}||{{{9}}}|}}}}</code><noinclude>{{/doc}}</noinclude>" current
  • 17:0517:05, 18 December 2023 diff hist +132 N Template:NavplateCreated page with "<includeonly>{{#invoke:Navplate|navplate}}</includeonly><noinclude> {{/doc}} <!-- Categories go in the /doc subpage --> </noinclude>"
  • 17:0517:05, 18 December 2023 diff hist +288 m Template:HeadingBBigwig moved page Template:HeadingB/ to Template:HeadingB without leaving a redirect current
  • 17:0017:00, 18 December 2023 diff hist +101 N Template:Key pressCreated page with "<includeonly>{{{{{|safesubst:}}}#invoke:key|keypress}}</includeonly><noinclude> {{/doc}} </noinclude>" current
  • 16:5916:59, 18 December 2023 diff hist +85 N Template:HatnoteCreated page with "<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude>{{/doc}}</noinclude>" current
  • 16:5916:59, 18 December 2023 diff hist +30 N Template:NoteRedirected page to Template:Hatnote current Tag: New redirect
  • 16:5816:58, 18 December 2023 diff hist +133 N Template:Main page/editing/styles.cssCreated page with "#home-editing { display: flex; flex-direction: column; justify-content: space-between; } .home-editing__stats { display: flex; }" current
  • 16:5816:58, 18 December 2023 diff hist +305 N Template:Main page/featured/styles.cssCreated page with "#home-featured { overflow: hidden; } #home-featured .home-card__background a { display: block; height: 100%; } #home-featured .home-card__background:after { top: unset; height: 60%; background: linear-gradient( to top, #000, transparent ); } #home-featured .home-card__foreground { top: unset; }" current
  • 16:5716:57, 18 December 2023 diff hist +923 N Template:Main page/gamebuild/styles.cssCreated page with "#home-gamebuild { display: flex; flex-direction: column; justify-content: space-between; } .home-gamebuild-patch__container { display: flex; align-items: center; justify-content: space-between; } .home-gamebuild-patch { display: flex; align-items: center; } .home-gamebuild-patch__name { font-size: 1.2rem; font-weight: 600; } .home-gamebuild-patch__type { padding: 0.1rem 0.6rem; margin-left: 0.4rem; background: var( --color-surface-3 ); border-radius: 10..." current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)