User contributions for Eric

A user with 21 edits. Account created on 27 October 2024.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽

29 October 2024

  • 01:0901:09, 29 October 2024 diff hist +1,348 N Template:Short descriptionCreated 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
  • 01:0501:05, 29 October 2024 diff hist +128 N Template:Main pageCreated page with "<noinclude> {{#template_params:}} </noinclude><includeonly> {{#template_display:_format=table}} Category:main </includeonly>" current

28 October 2024

  • 22:4622:46, 28 October 2024 diff hist +3,120 N Module:Section linkCreated page with "-- This module implements {{section link}}. local checkType = require('libraryUtil').checkType local yesno = require('Module:Yesno') local p = {} local function makeSectionLink(page, section, display) display = display or section page = page or '' return string.format('%s', page, section, display) end function p._main(page, sections, options, title) -- Validate input. checkType('_main', 1, page, 'string', true) checkType('_main', 3, options, 'table',..." current
  • 22:4422:44, 28 October 2024 diff hist +3,791 N Module:Uses TemplateStylesCreated page with "-- This module implements the {{Uses TemplateStyles}} template. local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local TNT = require('Module:TNT') local p = {} local function format(msg, ...) -- Content sourced from commons:Data:I18n/Uses TemplateStyles.tab return TNT.format('I18n/Uses TemplateStyles', msg, ...) end local function getConfi..." current
  • 22:4222:42, 28 October 2024 diff hist +36,079 N Module:DocumentationCreated page with "-- This module implements {{documentation}}. -- Get required modules. local getArgs = require('Module:Arguments').getArgs local messageBox = require('Module:Message box') -- Get the config table. local cfg = mw.loadData('Module:Documentation/config') local i18n = mw.loadData('Module:Documentation/i18n') local p = {} -- Often-used functions. local ugsub = mw.ustring.gsub ---------------------------------------------------------------------------- -- Helper functions -..."
  • 22:3522:35, 28 October 2024 diff hist +88 N Template:Authority controlCreated page with "{{#invoke:Authority control|authorityControl}}<noinclude> {{documentation}} </noinclude>" current
  • 22:3422:34, 28 October 2024 diff hist +65 N Template:AboutCreated page with "{{#invoke:about|about}}<noinclude> {{Documentation}} </noinclude>" current
  • 20:1220:12, 28 October 2024 diff hist +63 N Category:Wikiv news templates/enCreated page with "<languages/> [[Category:Main page templates{{#translation:}}]]" current
  • 20:1120:11, 28 October 2024 diff hist +214 N Template:Branching/enCreated page with "<noinclude><languages/></noinclude><onlyinclude><!-- -->20x20px|alt=Release|link=<!-- --></onlyinclude> [[Category:Wikiv news templates{{#translation:}}|{{PAGENAME}}]]" current
  • 02:2802:28, 28 October 2024 diff hist +431 N Module:Main page imageCreated page with "local p = {} local getArgs = require('Module:Arguments').getArgs function p.width(frame) local args = getArgs(frame) return p._width(args) end function p._width(args) local new_width = 140 local page = mw.title.makeTitle('File', args[1] or '') if not page or not page.fileExists then return new_width end new_width = math.floor(140 * math.sqrt(page.file.width / page.file.height) + 0.5) return new_width end return p" current
  • 02:2702:27, 28 October 2024 diff hist +151 N Template:DocumentationCreated page with "{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> <!-- Add categories to the /doc subpage --> </noinclude>" current
  • 02:2602:26, 28 October 2024 diff hist +76 N Template:PpCreated page with "{{#invoke:Protection banner|main}}<noinclude> {{documentation}} </noinclude>" current
  • 02:2502:25, 28 October 2024 diff hist +18,901 N Module:Message boxCreated 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
  • 02:1302:13, 28 October 2024 diff hist +6,546 N Module:Message box/configurationCreated page with "-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class = 'ambox-spee..." current
  • 02:1202:12, 28 October 2024 diff hist +18,028 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
  • 02:1202:12, 28 October 2024 diff hist +16,577 N Module:TableToolsCreated 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
  • 02:1102:11, 28 October 2024 diff hist +16,851 N Module:Unicode dataCreated page with "local p = {} local floor = math.floor local function errorf(level, ...) if type(level) == "number" then return error(string.format(...), level + 1) else -- level is actually the format string. return error(string.format(level, ...), 2) end end local function binary_range_search(codepoint, ranges) local low, mid, high low, high = 1, ranges.length or require "Module:TableTools".length(ranges) while low <= high do mid = floor((low + high) / 2) local range =..." current
  • 02:0902:09, 28 October 2024 diff hist +745 N Module:YesnoCreated 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