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 ( | older 50) (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))
  • 17:4717:47, 11 March 2025 diff hist +1,403 N Module:Separated entries Created page with "-- This module takes positional parameters as input and concatenates them with -- an optional separator. The final separator (the "conjunction") can be -- specified independently, enabling natural-language lists like -- "foo, bar, baz and qux". The starting parameter can also be specified. local compressSparseArray = require('Module:TableTools').compressSparseArray local p = {} function p._main(args) local separator = args.separator -- Decode (convert to Unicode) HT..."
  • 17:4617:46, 11 March 2025 diff hist +69 N Template:Br separated entries Created page with "{{<includeonly>safesubst:</includeonly>#invoke:Separated entries|br}}" current
  • 17:4517:45, 11 March 2025 diff hist +2,781 N Template:Infobox person Created page with "{{Infobox | bodyclass = vcard | abovestyle = font-size: 100%; | above = {{Br separated entries | 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|}}}}}}}}}|<div class="honorific-prefix" style="display:inline; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix}}}}}}}}}</div>}} | 2 = <div style="display:inline; font-size:130%;" class="fn org">{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}}</div> | 3 = {{#if:{{{native_n..." current
  • 17:4217:42, 11 March 2025 diff hist 0 m Module:Navbar/configuration Protected "Module:Navbar/configuration" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 17:4217:42, 11 March 2025 diff hist +904 N Module:Navbar/configuration Created page with "local configuration = { ['templatestyles'] = 'Module:Navbar/styles.css', ['box_text'] = 'This box: ', -- default text box when not plain or mini ['title_namespace'] = 'Template', -- namespace to default to for title ['invalid_title'] = 'Invalid title ', ['classes'] = { -- set a line to nil if you don't want it ['navbar'] = 'navbar', ['plainlinks'] = 'plainlinks', -- plainlinks ['horizontal_list'] = 'hlist', -- horizontal list class ['mini'] = 'navbar-mini..."
  • 17:4117:41, 11 March 2025 diff hist 0 m Module:Navbar Protected "Module:Navbar" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 17:4117:41, 11 March 2025 diff hist +5,093 N Module:Navbar Created page with "local p = {} local cfg = mw.loadData('Module:Navbar/configuration') local function get_title_arg(is_collapsible, template) local title_arg = 1 if is_collapsible then title_arg = 2 end if template then title_arg = 'template' end return title_arg end local function choose_links(template, args) -- The show table indicates the default displayed items. -- view, talk, edit, hist, move, watch -- TODO: Move to configuration. local show = {true, false, false, false, fal..."
  • 17:4017:40, 11 March 2025 diff hist 0 m Template:Infobox Protected "Template:Infobox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 17:4017:40, 11 March 2025 diff hist +27 N Template:Infobox Created page with "{{#invoke:Infobox|infobox}}"
  • 17:3917:39, 11 March 2025 diff hist 0 m Module:InfoboxImage Protected "Module:InfoboxImage" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 17:3917:39, 11 March 2025 diff hist +10,133 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..."
  • 17:3717:37, 11 March 2025 diff hist 0 m Module:Infobox Protected "Module:Infobox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 17:3617:36, 11 March 2025 diff hist +15,098 N Module:Infobox Created page with "-- -- This module implements {{Infobox}} -- local p = {} local navbar = require('Module:Navbar')._navbar local args = {} local origArgs = {} local root local function notempty( s ) return s and s:match( '%S' ) end local function fixChildBoxes(sval, tt) if notempty(sval) then local marker = '<span class=special_infobox_marker>' local s = sval s = mw.ustring.gsub(s, '(<%s*[Tt][Rr])', marker .. '%1') s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>)', '%1' .. marker)..."
  • 05:3505:35, 11 March 2025 diff hist +326 Marxism in Russia citation
  • 05:2005:20, 11 March 2025 diff hist +5 Template:Citation No edit summary current
  • 05:2005:20, 11 March 2025 diff hist +2,834 N Template:Citation citation
  • 05:1305:13, 11 March 2025 diff hist 0 m Module:Citation Protected "Module:Citation" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 05:1305:13, 11 March 2025 diff hist +6,872 N Module:Citation citation
  • 04:4204:42, 11 March 2025 diff hist −340 Main Page new front page Tag: Visual edit: Switched
  • 04:4004:40, 11 March 2025 diff hist 0 m Template:Main Page/styles.css Protected "Template:Main Page/styles.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
  • 04:3904:39, 11 March 2025 diff hist +5,039 N Template:Main Page/styles.css css styles

8 March 2025

(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)