User contributions for Sware
Jump to navigation
Jump to search
6 July 2025
- 14:1814:18, 6 July 2025 diff hist +49 N Module:Gthv-translit/doc Created page with "{{module documentation}}{{documentation subpage}}" current
- 14:1814:18, 6 July 2025 diff hist +263 N Module:Gthv-translit Created page with "local export = {} local tt = { ["È"]='Ɛ́', ["è"]='ɛ́', ["Ê"]='Ɛ̈', ["ê"]='ɛ̈', ["Ò"]='Ɔ́', ["ò"]='ɔ́', ["Ô"]='Ɔ̈', ["ô"]='ɔ̈', }; function export.tr(text, lang, sc) text = mw.ustring.gsub(text, '.', tt) return text end return export" current
- 14:1614:16, 6 July 2025 diff hist +28 Module:languages/data/exceptional No edit summary
- 14:1514:15, 6 July 2025 diff hist 0 Module:languages/data/exceptional No edit summary
- 14:1414:14, 6 July 2025 diff hist +191 MediaWiki:Common.css No edit summary
- 08:5808:58, 6 July 2025 diff hist −5 Template:Col-auto No edit summary current
- 08:4908:49, 6 July 2025 diff hist +21,264 Module:columns No edit summary
1 July 2025
- 23:3523:35, 1 July 2025 diff hist +2,146 N Module:string/gline Created page with "local error = error local find = string.find local gmatch = string.gmatch local match = string.match local sub = string.sub --[==[ Iterates over the lines in a string, treating {"\n"}, {"\r"} and {"\r\n"} as new lines. The optional {skip} parameter determines whether certain lines are skipped: * {NONE}: none (default). * {EMPTY}: empty lines: lines with a length of 0, consisting of no characters. * {BLANK}: blank lines: empty lines and lines which only consist of white..."
- 23:3523:35, 1 July 2025 diff hist +1,508 N Module:parameters/track Created page with "local string_gline_module = "Module:string/gline" local match = string.match local new_title = mw.title.new local require = require local traceback = debug.traceback local function gline(...) gline = require(string_gline_module) return gline(...) end local params_title local function get_params_title() params_title, get_params_title = new_title("parameters", 828), nil return params_title end return function(page, param_name) -- Check through the traceback to get..." current
- 23:3223:32, 1 July 2025 diff hist +2,194 MediaWiki:Common.css No edit summary
- 23:3023:30, 1 July 2025 diff hist −706 Module:collapsible category tree/style.css Undo revision 461111 by Sware (talk) current Tag: Undo
- 23:3023:30, 1 July 2025 diff hist −44 Module:collapsible category tree No edit summary current
- 23:2623:26, 1 July 2025 diff hist −78 Module:affix/templates No edit summary current Tag: Manual revert
- 23:2523:25, 1 July 2025 diff hist −9 Module:collapsible category tree No edit summary
- 23:2323:23, 1 July 2025 diff hist +51 Module:affix/templates No edit summary Tag: Reverted
- 23:2223:22, 1 July 2025 diff hist +27 Module:affix/templates No edit summary Tag: Reverted
- 23:2023:20, 1 July 2025 diff hist 0 Module:affix/templates No edit summary
- 23:1623:16, 1 July 2025 diff hist +706 Module:collapsible category tree/style.css No edit summary Tag: Reverted
- 23:1423:14, 1 July 2025 diff hist +293 Module:collapsible category tree No edit summary
- 23:1323:13, 1 July 2025 diff hist +8,766 N Module:Scribunto Created page with "local export = {} local math_module = "Module:math" local dump = mw.dumpObject local format = string.format local gsub = string.gsub local match = string.match local php_trim -- defined below local sub = string.sub local tonumber = tonumber local tostring = tostring local type = type do local php_htmlspecialchars_data local function get_php_htmlspecialchars_data() php_htmlspecialchars_data, get_php_htmlspecialchars_data = { ["\""] = """, ["&"] = "&"..."
- 23:1323:13, 1 July 2025 diff hist +12,734 Module:parameters No edit summary
- 23:1123:11, 1 July 2025 diff hist −59 Template:N-g No edit summary current
- 23:0923:09, 1 July 2025 diff hist +5 Module:links/templates No edit summary current
- 23:0723:07, 1 July 2025 diff hist +10 Module:links/templates No edit summary
- 23:0523:05, 1 July 2025 diff hist +2,423 Module:links No edit summary
- 22:1522:15, 1 July 2025 diff hist +24 Module:links/templates No edit summary
- 14:0314:03, 1 July 2025 diff hist +30 Module:affixusex/templates No edit summary current
- 14:0214:02, 1 July 2025 diff hist +25 Module:IPA/templates No edit summary current
- 09:3109:31, 1 July 2025 diff hist +31,338 Module:parameter utilities No edit summary
30 June 2025
- 11:2511:25, 30 June 2025 diff hist +5,274 Module:en-utilities No edit summary current
- 09:2809:28, 30 June 2025 diff hist +74 Module:affix/templates No edit summary
29 June 2025
- 15:5515:55, 29 June 2025 diff hist +2 Module:qlu-pron/testcases No edit summary current
- 15:5415:54, 29 June 2025 diff hist 0 Module:qlu-pron/testcases No edit summary
- 15:5315:53, 29 June 2025 diff hist +3 Module:qlu-pron/testcases No edit summary
- 15:5215:52, 29 June 2025 diff hist +18 Module:qlu-pron/testcases No edit summary
- 15:4915:49, 29 June 2025 diff hist +3 Module:qlu-pron No edit summary current
28 June 2025
- 09:2209:22, 28 June 2025 diff hist +429 Module:links/templates No edit summary
- 09:1809:18, 28 June 2025 diff hist +2 Module:links No edit summary
- 09:1609:16, 28 June 2025 diff hist +364 N Module:string/startswith Created page with "local sub = string.sub --[==[ Returns {true} if the string {str} starts with the string {val}, or {false} if not. The optional indices {i} and {j} can be used to check a substring of {str}. Note that {val} is a string literal, not a Lua pattern.]==] return function(str, val, i, j) return sub(i == nil and j == nil and str or sub(str, i, j), 1, #val) == val end"
- 09:1509:15, 28 June 2025 diff hist +695 N Module:frame Created page with "local export = {} local frame local function get_frame() frame = mw.getCurrentFrame():newChild{} return frame end function export.callParserFunction(...) return (frame or get_frame()):callParserFunction(...) end function export.expandTemplate(...) return (frame or get_frame()):expandTemplate(...) end function export.extensionTag(...) return (frame or get_frame()):extensionTag(...) end function export.newParserValue(...) return (frame or get_frame()):newParserV..."
- 09:1509:15, 28 June 2025 diff hist +1,322 N Module:fun/isCallable Created page with "local table_get_metamethod_module = "Module:table/getMetamethod" local require = require local type = type local function get_metamethod(...) get_metamethod = require(table_get_metamethod_module) return get_metamethod(...) end --[==[ Return {true} if the input is a function or functor (an object which can be called like a function, because it has a {__call} metamethod). Note: if the input is an object with a {__call} metamethod, but this function is not able to fin..." current
- 09:1409:14, 28 June 2025 diff hist +1,771 N Module:table/getUnprotectedMetatable Created page with "local _getmetatable = debug.getmetatable -- For testing (and just in case it gets enabled). if _getmetatable ~= nil then -- Avoid debug.getmetatable() throwing an error if 0 arguments are passed, -- for parity with the other function. return function(t) return _getmetatable(t) end end _getmetatable = getmetatable local pcall = pcall local rawget = rawget local setmetatable = setmetatable local type = type --[==[ Attempts to retrieve the input value's metatable,..."
- 09:1409:14, 28 June 2025 diff hist +1,552 N Module:table/getMetamethod Created page with "local table_get_unprotected_metatable = "Module:table/getUnprotectedMetatable" local rawget = rawget local select = select local function get_unprotected_metatable(...) get_unprotected_metatable = require(table_get_unprotected_metatable) return get_unprotected_metatable(...) end local function get_metamethod(n, i, mt, mm, ...) if mt then mm = rawget(mt, mm) else mm = nil end if i == n then return mm end return mm, get_metamethod(n, i + 1, mt, ...) end -..."
- 09:1309:13, 28 June 2025 diff hist +1,362 N Module:title/isTitle Created page with "local table_get_metamethod_module = "Module:table/getMetamethod" local error = error local rawequal = rawequal local type = type local function get_metamethod(...) get_metamethod = require(table_get_metamethod_module) return get_metamethod(...) end local title_eq, title_lt local function get_title_mm() local success, eq, lt = get_metamethod(mw.title.getCurrentTitle(), "__eq", "__lt") if not success then error("Failed to fetch current title") -- this should never..."
- 09:1309:13, 28 June 2025 diff hist +1,969 N Module:title/exists Created page with "local title_is_title_module = "Module:title/isTitle" local title_new_title_module = "Module:title/newTitle" local error = error local format = string.format local pcall = pcall local require = require local type = type local at_limit local function is_title(...) is_title = require(title_is_title_module) return is_title(...) end local function new_title(...) new_title = require(title_new_title_module) return new_title(...) end local function exists(title) return..." current
- 09:1309:13, 28 June 2025 diff hist +645 N Module:title/getMainPageTitle Created page with "local title_new_title_module = "Module:title/newTitle" local require = require local function new_title(...) new_title = require(title_new_title_module) return new_title(...) end local main_page local function get_main_page() -- Ideally this would be done via some kind of :parse() method, but the -- mw.message library got heavily nerfed by phab:T62758, meaning it's -- now only able to fetch the unparsed wikitext and can't expand it. main_page, get_main_page..." current
- 09:1209:12, 28 June 2025 diff hist +964 N Module:title/getCurrentTitle Created page with "local get_current_title = mw.title.getCurrentTitle --[==[ A modified version of {mw.title.getCurrentTitle}, which returns the title object for the current title. If the additional optional parameter {fragment} is given, the returned title object will have that value as the fragment, which is the part of the title that comes after {#}, referring to a specific section on the page (e.g. in {"foo#bar"}, the fragment is {"bar"}). This is a convenience function, which is gen..." current
- 09:1209:12, 28 June 2025 diff hist +196 N Module:title/getCurrentNamespace Created page with "--[==[ Returns the data table for the current namespace from {mw.site.namespaces}. This module may be loaded with {mw.loadData}.]==] return mw.site.namespaces[mw.title.getCurrentTitle().namespace]"
- 09:1109:11, 28 June 2025 diff hist +6,179 N Module:title/newTitle Created page with "local load_module = "Module:load" local scribunto_module = "Module:Scribunto" local title_get_current_namespace_module = "Module:title/getCurrentNamespace" local title_get_current_title_module = "Module:title/getCurrentTitle" local title_get_main_page_title_module = "Module:title/getMainPageTitle" local byte = string.byte local find = string.find local match = string.match local new_title = mw.title.new local reverse = string.reverse local sub = string.sub local type =..."
- 09:0909:09, 28 June 2025 diff hist +3,129 Module:documentation No edit summary