Jump to content

User contributions for Thehighwayman

A user with 540 edits. Account created on 23 February 2025.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

13 March 2025

12 March 2025

  • 23:5923:59, 12 March 2025 diff hist +3,469 N Module:Box-header/colours Created page with "return { aliceblue = "#F0F8FF", antiquewhite = "#FAEBD7", aqua = "#00FFFF", aquamarine = "#7FFFD4", azure = "#F0FFFF", beige = "#F5F5DC", bisque = "#FFE4C4", black = "#000000", blanchedalmond = "#FFEBCD", blue = "#0000FF", blueviolet = "#8A2BE2", brown = "#A52A2A", burlywood = "#DEB887", cadetblue = "#5F9EA0", chartreuse = "#7FFF00", chocolate = "#D2691E", coral = "#FF7F50", cornflower = "#6495ED", cornsilk = "#FFF8DC", crimson = "#DC143C", cyan = "#..."
  • 23:5823:58, 12 March 2025 diff hist 0 m Module:Box-header Protected "Module:Box-header" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 23:5723:57, 12 March 2025 diff hist +15,793 N Module:Box-header Created page with "local getArgs = require('Module:Arguments').getArgs local p = {} ---------- Config data ---------- local namedColours = mw.loadData( 'Module:Box-header/colours' ) local modes = { lightest = { sat=0.10, val=1.00 }, light = { sat=0.15, val=0.95 }, normal = { sat=0.40, val=0.85 }, dark = { sat=0.90, val=0.70 }, darkest = { sat=1.00, val=0.45 }, content = { sat=0.04, val=1.00 }, grey = { sat=0.00 } } local min_contrast_ratio_normal_text = 7 -- i.e 7:1..."
  • 23:4223:42, 12 March 2025 diff hist 0 m Module:Auxiliary functions Protected "Module:Auxiliary functions" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 23:4023:40, 12 March 2025 diff hist +226 N Module:Auxiliary functions Created page with "-- Carries functions which are used in a lot of modules -- Collecting them here for easier reusability function is_set (var) return not (var == nil or var == ''); end function italics (var) return "<i>" .. var .. "</i>" end"
  • 23:3923:39, 12 March 2025 diff hist 0 m Module:Anchor Protected "Module:Anchor" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 23:3923:39, 12 March 2025 diff hist +647 N Module:Anchor Created page with "-- This module implements {{anchor}}. local getArgs = require('Module:Arguments').getArgs local tableTools = require('Module:TableTools') local p = {} function p.main(frame) -- Get the positional arguments from #invoke, remove any nil values, -- and pass them to p._main. local args = getArgs(frame) local argArray = tableTools.compressSparseArray(args) return p._main(unpack(argArray)) end function p._main(...) -- Generate the list of anchors. local anchors = {...."
  • 23:3823:38, 12 March 2025 diff hist 0 m Module:AgeTemplate Protected "Module:AgeTemplate" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 23:3823:38, 12 March 2025 diff hist +582 N Module:AgeTemplate Created page with "local p = {} local function isLeapYear(Year) if Year%400 == 0 then return true end if Year%4 == 0 and Year%100 ~= 0 then return true end return false end function p.age( frame ) local pframe = frame:getParent() local arg1 = pframe.args[1] local arg2 = pframe.args[2] local arg3 = pframe.args[3] local initialDate = "" local endDate = "" if arg1 == "1" or arg1 == "2" or arg1 == "3" then initialDate = arg2 endDate = arg3 else initialDate = arg1..."
  • 23:3723:37, 12 March 2025 diff hist 0 m Module:Age Protected "Module:Age" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 23:3723:37, 12 March 2025 diff hist +32,188 N Module:Age Created page with "-- Implement various "age of" and other date-related templates. local mtext = { -- Message and other text that should be localized. ['mt-bad-param1'] = 'Invalid parameter $1', ['mt-bad-param2'] = 'Parameter $1=$2 is invalid', ['mt-bad-show'] = 'Parameter show=$1 is not supported here', ['mt-cannot-add'] = 'Cannot add "$1"', ['mt-conflicting-show'] = 'Parameter show=$1 conflicts with round=$2', ['mt-date-wron..."

11 March 2025

  • 18:0118:01, 11 March 2025 diff hist 0 m Module:String Protected "Module:String" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 18:0118:01, 11 March 2025 diff hist +18,033 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..."
  • 17:5917:59, 11 March 2025 diff hist +99 N Template:PAGENAMEBASE Created page with "{{{{{|safesubst:}}}#Invoke:String|replace|{{{1|{{{{{|safesubst:}}}PAGENAME}}}}}|%s+%b()$||1|false}}" current
  • 17:5817:58, 11 March 2025 diff hist 0 m Module:If empty Protected "Module:If empty" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 17:5817:58, 11 March 2025 diff hist 0 m Template:If empty Protected "Template:If empty" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 17:5817:58, 11 March 2025 diff hist +371 N Template:If empty Created page with "<noinclude>This template takes a series of arguments and returns the first non-empty argument. Example: <nowiki>{{If empty|a|b|c|d}}</nowiki> In this situation, if a is not empty, it would return a, if it is empty, it would return b, unless it was also empty, then it would return c, and so on.</noinclude>{{<includeonly>safesubst:</includeonly>#invoke:If empty|main}}"
  • 17:5717:57, 11 March 2025 diff hist +1,018 N Module:If empty Created page with "local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) -- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank, -- even though there's really no legitimate use case for this. At some point, this will be removed. local lowestNil = math.huge for i = 8,1,-1 do if args[i] == nil then args[i] = '' lowestNil = i end end for..."
  • 17:5117:51, 11 March 2025 diff hist 0 m Module:Arguments Thehighwayman moved page Module:Argments to Module:Arguments without leaving a redirect current
  • 17:5017:50, 11 March 2025 diff hist 0 m Module:Arguments Protected "Module:Argments" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
  • 17:5017:50, 11 March 2025 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'..."
  • 17:4917:49, 11 March 2025 diff hist 0 m Module:TableTools Protected "Module:TableTools" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 17:4917:49, 11 March 2025 diff hist +12,649 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...."
  • 17:4817:48, 11 March 2025 diff hist 0 m Module:Separated entries Thehighwayman moved page Module:Seperated entries to Module:Separated entries without leaving a redirect current
  • 17:4717:47, 11 March 2025 diff hist 0 m Module:Separated entries Protected "Module:Seperated entries" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)