Related changes
Appearance
Enter a page name to see changes on pages linked to or from that page. (To see members of a category, enter Category:Name of category). Changes to pages on your Watchlist are in bold.
List of abbreviations:
- N
- This edit created a new page (also see list of new pages)
- m
- This is a minor edit
- b
- This edit was performed by a bot
- (±123)
- The page size changed by this number of bytes
24 April 2025
N 19:59 | Module:Effective protection expiry diffhist +1,494 Sharkius talk contribs (Created page with "local p = {} -- Returns the expiry of a restriction of an action on a given title, or unknown if it cannot be known. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename.prefixedText then title = pagename elseif pagename then title = mw.title.new(pagename) else title = mw.title.getCurrentTitle() end pagename = title.prefixedText if action == 'auto...") |
N 19:41 | Module:Effective protection level diffhist +3,581 Sharkius talk contribs (Created page with "local p = {} -- Returns the permission required to perform a given action on a given title. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) local title if type(pagename) == 'table' and pagename.prefixedText then title = pagename elseif pagename then title = mw.title.new(pagename) else title = mw.title.getCurrentTitle() end pagename = title.prefixedText if action == 'autoreview' then local leve...") |
N 00:34 | Module:File link diffhist +2,544 Sharkius talk contribs (Created page with "-- This module provides a library for formatting file wikilinks. local yesno = require('Module:Yesno') local checkType = require('libraryUtil').checkType local p = {} function p._main(args) checkType('_main', 1, args, 'table') -- This is basically libraryUtil.checkTypeForNamedArg, but we are rolling our -- own function to get the right error level. local function checkArg(key, val, level) if type(val) ~= 'string' then error(string.format( "type error in...") |
N 00:29 | Template:Pp-template diffhist +178 Sharkius talk contribs (Created page with "<includeonly>{{#invoke:Protection banner|main}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>") |
N 00:28 | Module:Storm categories/icons diffhist +1,153 Sharkius talk contribs (Created page with "local p = {} local cats = require("Module:Storm categories/categories").cats -- Icon overrides for old {{Tropical cyclone status icons}} that don't have a -- viable category. local icons = { -- Ambiguious 7-tier scale ["1"] = cats["cat1"].icon, ["2"] = cats["cat2"].icon, ["3"] = cats["cat3"].icon, ["4"] = cats["cat4"].icon, ["5"] = cats["cat5"].icon, ["6"] = cats["cat6"].icon, ["H"] = cats["cat7"].icon, -- FMS scale ["a5"] = cats["aus5"].icon, ["a4"] = cats["...") |
N 00:28 | Module:Storm categories/colors diffhist +1,403 Sharkius talk contribs (Created page with "local p = {} local cats = require("Module:Storm categories/categories").cats -- Ambiguous color names. This is because the old {[storm colour}} itself is -- extremely ambiguous. This is also used to override the output of some codes. local colors = { -- AHWS colors ["C5H"] = cats["ahwscat5"].color, ["C4H"] = cats["ahwscat4"].color, ["C3H"] = cats["ahwscat3"].color, ["C2H"] = cats["ahwscat2"].color, ["C1H"] = cats["ahwscat1"].color, ["TS"] = cats["ahwsstorm"].co...") |
N 00:27 | Module:Storm categories/categories diffhist +41,076 Sharkius talk contribs (Created page with "local p = {} -- Define categories -- All sortkeys have been guessed. They may be changed by common sense -- or consensus at Wikipedia talk:WikiProject Tropical cyclones local cats = { -- -- TROPICAL CYCLONES -- severe = { color = "C0FFC0", name = "Severe tropical storm", sortkey = 120, icon = "18px" }, mtstorm = { color = "4DFFFF", -- Old {{storm colour}} did not support. Value guessed. name = "Moderate t...") |
N 00:27 | Module:Storm categories diffhist +3,301 Sharkius talk contribs (Created page with "local categoryData = require("Module:Storm categories/categories") local colors = require("Module:Storm categories/colors").colors local icons = require("Module:Storm categories/icons").icons local cats = categoryData.cats local defaultCategory = categoryData.defaultCategory local p = {} function p.color(frame) return p._color(frame.args[1] or frame:getParent().args[1], false) end function p.name(frame) return p._name( frame.args[1] or frame:getParent().args[1],...") |
23 April 2025
N 23:47 | Module:Yesno diffhist +745 Sharkius talk contribs (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 =...") |
N 23:44 | Module:Documentation/styles.css diffhist +1,149 Sharkius talk contribs (Created page with "→{{pp|small=yes}}: .documentation, .documentation-metadata { border: 1px solid var( --border-color-base, #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:...") |
N 23:44 | Module:Documentation/config diffhist +17,747 Sharkius talk contribs (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. ---------------------------------------------------------------------------------...") |
N 23:43 | Module:Arguments diffhist +10,054 Sharkius talk contribs (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'...") |
N 23:42 | Module:Documentation diffhist +35,178 Sharkius talk contribs (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 local format = mw.ustring.format ---------------------------------------------------------------------------- -- Helper functions -- -- These are defined as local functions, but are made available in...") |
N 23:41 | Template:Documentation diffhist +151 Sharkius talk contribs (Created page with "{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> <!-- Add categories to the /doc subpage --> </noinclude>") |
N 23:41 | Module:Protection banner diffhist +26,590 Sharkius talk contribs (Created page with "-- This module implements {{pp-meta}} and its daughter templates such as -- {{pp-dispute}}, {{pp-vandalism}} and {{pp-sock}}. -- Initialise necessary modules. require('strict') local makeFileLink = require('Module:File link')._main local effectiveProtectionLevel = require('Module:Effective protection level')._main local effectiveProtectionExpiry = require('Module:Effective protection expiry')._main local yesno = require('Module:Yesno') -- Lazily initialise modules and...") |