User contributions for Thetacola
From Thetacola Wiki
Jump to navigationJump to search
14 August 2022
- 20:1620:16, 14 August 2022 diff hist −1 Template:Infobox language/language family color table No edit summary
- 20:1620:16, 14 August 2022 diff hist −11 Template:Infobox language/language family color table No edit summary
- 20:1420:14, 14 August 2022 diff hist −82 Template:Infobox language/quilt No edit summary current
- 20:1220:12, 14 August 2022 diff hist −33 Template:Infobox language/family-color changed some names
- 20:0520:05, 14 August 2022 diff hist −47 Module:Lua banner No edit summary
- 20:0320:03, 14 August 2022 diff hist +2 Module:Lua banner fixed bug
- 20:0220:02, 14 August 2022 diff hist +15,281 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...."
- 19:5919:59, 14 August 2022 diff hist +14,646 N Module:Math Created page with "--This module provides a number of basic mathematical operations. local yesno, getArgs -- lazily initialized local p = {} -- Holds functions to be returned from #invoke, and functions to make available to other Lua modules. local wrap = {} -- Holds wrapper functions that process arguments from #invoke. These act as intemediary between functions meant for #invoke and functions meant for Lua. --Helper functions used to avoid redundant code. local function..."
- 19:5919:59, 14 August 2022 diff hist +23,774 N Module:Coordinates Created page with "--[[ This module is intended to replace the functionality of {{Coord}} and related templates. It provides several methods, including {{#invoke:Coordinates | coord }} : General function formatting and displaying coordinate values. {{#invoke:Coordinates | dec2dms }} : Simple function for converting decimal degree values to DMS format. {{#invoke:Coordinates | dms2dec }} : Simple function for converting DMS format to decimal degree format. {{#invoke:Coordinates | link }..."
- 19:5619:56, 14 August 2022 diff hist +5,410 N Module:List Created page with "-- This module outputs different kinds of lists. At the moment, bulleted, -- unbulleted, horizontal, ordered, and horizontal ordered lists are supported. 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, ar..."
- 19:5319:53, 14 August 2022 diff hist +1,361 N Module:Message box/ombox.css Created page with "→{{pp|small=y}}: .ombox { margin: 4px 0; border-collapse: collapse; border: 1px solid #a2a9b1; →Default "notice" gray: background-color: #f8f9fa; box-sizing: border-box; } →For the "small=yes" option.: .ombox.mbox-small { font-size: 88%; line-height: 1.25em; } .ombox-speedy { border: 2px solid #b32424; →Red: background-color: #fee7e6; →Pink: } .ombox-delete { border: 2px solid #b32424; →Red: } .ombox-content { border: 1p..."
- 19:5119:51, 14 August 2022 diff hist +6,474 N Module:Message box/configuration Created page with "-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class = 'ambox-spee..."
- 16:4816:48, 14 August 2022 diff hist +2,174 N Module:Transclusion count Created page with "local p = {} function p.fetch(frame) local template = nil local return_value = nil -- Use demo parameter if it exists, otherswise use current template name local namespace = mw.title.getCurrentTitle().namespace if frame.args["demo"] and frame.args["demo"] ~= "" then template = frame.args["demo"] elseif namespace == 10 then -- Template namespace template = mw.title.getCurrentTitle().text elseif namespace == 828 then -- Module namespace template = (mw.site.n..."
- 16:4716:47, 14 August 2022 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 =..."
- 16:4616:46, 14 August 2022 diff hist +6,690 N Module:High-use Created page with "local p = {} -- _fetch looks at the "demo" argument. local _fetch = require('Module:Transclusion_count').fetch local yesno = require('Module:Yesno') function p.num(frame, count) if count == nil then if yesno(frame.args['fetch']) == false then if (frame.args[1] or '') ~= '' then count = tonumber(frame.args[1]) end else count = _fetch(frame) end end -- Build output string local return_value = "" if count == nil then if frame.args[1] == "risk" then..."
- 16:4416:44, 14 August 2022 diff hist +307 N Module:No globals Created page with "local mt = getmetatable(_G) or {} function mt.__index (t, k) if k ~= 'arg' then error('Tried to read nil global ' .. tostring(k), 2) end return nil end function mt.__newindex(t, k, v) if k ~= 'arg' then error('Tried to write global ' .. tostring(k), 2) end rawset(t, k, v) end setmetatable(_G, mt)"
- 16:4016:40, 14 August 2022 diff hist +18,591 N Module:Message box Created page with "require('Module:No globals') 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 ----------------------------------------------------------------..."
- 16:4016:40, 14 August 2022 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>"
- 15:5115:51, 14 August 2022 diff hist +3,904 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)..."
- 15:5115:51, 14 August 2022 diff hist +196 N Template:Lua Created page with "<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude> {{Lua|Module:Lua banner}} {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>"
- 15:3915:39, 14 August 2022 diff hist +716 N Module:Documentation/styles.css Created page with "→{{pp|small=yes}}: .documentation, .documentation-metadata { border: 1px solid #a2a9b1; background-color: #ecfcf4; clear: both; } .documentation { margin: 1em 0 0 0; padding: 1em; } .documentation-metadata { margin: 0.2em 0; →same margin left-right as .documentation: font-style: italic; padding: 0.4em 1em; →same padding left-right as .documentation: } .documentation-startbox { padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bott..."
- 15:3815:38, 14 August 2022 diff hist +145 N Template:Nowrap Created page with "<span class="nowrap">{{{1}}}</span><noinclude> {{documentation}} <!-- Categories go on the /doc page; interwikis go to Wikidata. --> </noinclude>"
- 15:3815:38, 14 August 2022 diff hist +17,433 N Module:Documentation/config Created page with "---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------..."
- 15:3815:38, 14 August 2022 diff hist +163 N Template:Wrap Created page with "<includeonly><span class="wrap">{{{1| }}}</span></includeonly><noinclude> {{documentation}} <!-- Add categories to the /doc subpage, not here! --> </noinclude>" current
- 15:3715:37, 14 August 2022 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'..."
- 15:3515:35, 14 August 2022 diff hist +422 N Template:Main 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:0}} | main | other }} }} | main = {{{1|}}} | other | #default = {{{2|}}} }}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! --> </noinclude>"
- 15:3215:32, 14 August 2022 diff hist +980 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..."
- 15:2715:27, 14 August 2022 diff hist +35,027 N Module:Documentation Created page with "-- This module implements {{documentation}}. -- Get required modules. local getArgs = require('Module:Arguments').getArgs -- Get the config table. local cfg = mw.loadData('Module:Documentation/config') local p = {} -- Often-used functions. local ugsub = mw.ustring.gsub ---------------------------------------------------------------------------- -- Helper functions -- -- These are defined as local functions, but are made available in the p -- table for testing purpos..."
- 15:2715:27, 14 August 2022 diff hist +288 N Template:Longitem Created page with "{{#if:{{{1|}}}|<div style="}} display:inline-block; line-height:1.2em; padding:0.1em 0;{{#if:{{{1|}}}|{{{style|}}}">{{{1}}}</div><includeonly>{{#if:{{{2|}}}|Category:Pages using Template:Longitem with unnamed style parameter}}</includeonly>}}<noinclude> {{documentation}} </noinclude>" current
- 15:2615:26, 14 August 2022 diff hist +10,244 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..."
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Legend 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Lang 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Intricate template/text 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Intricate template 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Infobox language/ref 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Infobox language/quilt 1 revision imported
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Infobox language/linguistlist 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Infobox language/language family color table 1 revision imported
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Infobox language/genetic 1 revision imported
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Infobox language/family-color 1 revision imported
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Infobox language/doc 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Infobox language/codelist 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:Infobox 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:If empty 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:ISO 639-2 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:ISO 639-1 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:IRN 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:IPAc-en 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:IPA-fa 1 revision imported current
- 15:2415:24, 14 August 2022 diff hist 0 m Template:IPA 1 revision imported current