Combined display of all available logs of TwogPedia. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 21:25, 19 August 2022 Couchor talk contribs created page Module:Table (Created page with "local Table = {} function Table.randomize(tbl) math.randomseed(os.time()) for i = #tbl, 2, -1 do local j = math.random(i) tbl[i], tbl[j] = tbl[j], tbl[i] end return tbl end function Table.size(tbl) local i = 0 for _ in pairs(tbl) do i = i + 1 end return i end function Table.includes(tbl, value) for _, entry in ipairs(tbl) do if entry == value then return true end end return false end function Table.filter(tbl, predicate, argument) local filt...")
- 21:25, 19 August 2022 Couchor talk contribs created page Module:Logic (Created page with "local Logic = {} function Logic.emptyOr(val1, val2, default) if not Logic.isEmpty(val1) then return val1 elseif not Logic.isEmpty(val2) then return val2 else return default end end function Logic.nilOr(...) local args = require('Module:Table').pack(...) for i = 1, args.n do local arg = args[i] local val if type(arg) == 'function' then val = arg() else val = arg end if val ~= nil then return val end end return nil end function Logic...")
- 21:24, 19 August 2022 Couchor talk contribs created page Module:PageVariableNamespace (Created page with "local Class = require('Module:Class') local Logic = require('Module:Logic') local StringUtils = require('Module:StringUtils') local Namespace = Class.new(function(self, prefix) self.prefix = prefix end) function Namespace:get(key) return StringUtils.nilIfEmpty(mw.ext.VariablesLua.var(self.prefix .. key)) end function Namespace:set(key, value) mw.ext.VariablesLua.vardefine(self.prefix .. key, StringUtils.nilIfEmpty(value)) end function Namespace:delete(key) self:s...")
- 21:24, 19 August 2022 Couchor talk contribs created page Module:Template (Created page with "local Arguments = require('Module:Arguments') local Json = require('Module:Json') local PageVariableNamespace = require('Module:PageVariableNamespace') local Template = {} function Template.safeExpand(frame, title, args, defaultTemplate) local result, value = pcall(frame.expandTemplate, frame, {title = title, args = args}) if result then return value else local templateName = 'Template:' .. (title or '') .. '' return defaultTemplate or templateName end en...")
- 21:23, 19 August 2022 Couchor talk contribs created page Module:Flags/MasterData (Created page with "-- There are four tables: -- data (contains flag images. Should have one entry per image) -- twoLetter (two-letter country codes as per ISO 3166-1 alpha-2) -- threeLetter (three-letter country codes) -- aliases (redirects to the appropriate index in the data table) -- This table includes: -- ISO 3166-1 alpha-2 -- ISO 3166-1 alpha-2 User-assigned Code Elements -- ISO 3166-1 alpha-2 Exceptional Reservations -- ISO 3166-1 alpha-2 Traditional Reservations --...")
- 21:22, 19 August 2022 Couchor talk contribs created page Module:ReferenceCleaner (Created page with "local Class = require('Module:Class') local ReferenceCleaner = {} function ReferenceCleaner.clean(dateWithRef) if dateWithRef == nil then return '' end -- due to '-' and '?' being part of the 'magic' characters for patterns -- we have to escape them with '%' dateWithRef = dateWithRef:gsub('%-%?%?', '-01') dateWithRef = dateWithRef:gsub('%-XX', '-01') local correctDate = string.match(dateWithRef, '(%d+-%d+-%d+)') if correctDate then return correctDate end...")
- 21:20, 19 August 2022 Couchor talk contribs created page Module:Squad/Custom (Created page with "local Class = require('Module:Class') local Json = require('Module:Json') local ReferenceCleaner = require('Module:ReferenceCleaner') local Squad = require('Module:Squad') local SquadRow = require('Module:Squad/Row') local String = require('Module:StringUtils') local Variables = require('Module:Variables') local CustomSquad = {} function CustomSquad.header(self) local makeHeader = function(wikiText) local headerCell = mw.html.create('th') if wikiText == nil then...")
- 21:10, 19 August 2022 Couchor talk contribs created page Module:Json (Created page with "local Json = {} local Arguments = require('Module:Arguments') function Json.fromArgs(frame) local args = Arguments.getArgs(frame) return Json.stringify(args) end function Json.stringify(obj, pretty) return mw.text.jsonEncode(obj, pretty == true and mw.text.JSON_PRETTY or nil) end function Json.parse(obj) local parse = function(object) return mw.text.jsonDecode(object, mw.text.JSON_TRY_FIXING) end local status, res = pcall(parse, obj); if status then return re...")
- 20:58, 19 August 2022 Couchor talk contribs created page Module:Arguments (Created page with "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' then val = val:match('^%s*(.-)%s*$') if val == '' then return nil else return val end else return val end end local function tidyValTrimOnly(key, val) if type(val) ==...")
- 20:57, 19 August 2022 Couchor talk contribs created page Module:Class (Created page with "local Arguments = require('Module:Arguments') local Class = {} Class.PRIVATE_FUNCTION_SPECIFIER = '_' function Class.new(base, init) local instance = {} if not init and type(base) == 'function' then init = base base = nil elseif type(base) == 'table' then for index, value in pairs(base) do instance[index] = value end instance._base = base end instance.__index = instance local metatable = {} metatable.__call = function(class_tbl, ...) local o...")
- 20:53, 19 August 2022 Couchor talk contribs created page Module:StringUtils (Created page with "local String = {} function String.startsWith(str, start) return str:sub(1, #start) == start --str:find('^' .. start) ~= nil end function String.endsWith(str, ending) return ending == '' or str:sub(-#ending) == ending end function String.split(inputstr, sep) if inputstr ~= nil then if sep == nil then sep = '%s' end inputstr = inputstr:gsub(sep, '&') local t = {} local i = 1 for str in string.gmatch(inputstr, '([^&]+)') do t[i] = str i = i + 1...")
- 20:53, 19 August 2022 Couchor talk contribs created page Module:Squad (Created page with "local Class = require('Module:Class') local Arguments = require('Module:Arguments') local String = require('Module:StringUtils') local Squad = Class.new() Squad.TYPE_ACTIVE = 0 Squad.TYPE_INACTIVE = 1 Squad.TYPE_FORMER = 2 Squad.TYPE_FORMER_INACTIVE = 3 function Squad:init(frame) self.frame = frame self.args = Arguments.getArgs(frame) self.root = mw.html.create('div') self.root :addClass('table-responsive') -- TODO: is this needed? :css('margin-bottom', '1...")
- 20:50, 19 August 2022 Couchor talk contribs created page Module:Flags (Created page with "local MasterData = mw.loadData('Module:Flags/MasterData') local Template = require('Module:Template') local Logic = require('Module:Logic') local Table = require('Module:Table') local String = require('Module:StringUtils') local FnUtil = require('Module:FnUtil') local Class = require('Module:Class') local Flags = {} -- Returns a flag --[[ supported args are: flag - country name, flag code, or alias of the Flag shouldLink - boolean that decides if the flag should link...")
- 20:50, 19 August 2022 Couchor talk contribs created page Module:Squad/Row (Created page with "--- -- @Liquipedia -- wiki=commons -- page=Module:Squad/Row -- -- Please see https://github.com/Liquipedia/Lua-Modules to contribute -- local Class = require('Module:Class') local Flags = require('Module:Flags') local Player = require('Module:Player') local ReferenceCleaner = require('Module:ReferenceCleaner') local String = require('Module:StringUtils') local Template = require('Module:Template') local Table = require('Module:Table') -- TODO: Decided on all valid type...")
- 22:02, 18 August 2022 Admin talk contribs changed group membership for Couchor from bureaucrat and administrator to bureaucrat, administrator and interface administrator
- 21:34, 18 August 2022 Couchor talk contribs deleted page Common:CSS (Mistake)
- 21:31, 18 August 2022 Couchor talk contribs created page Common:CSS (Created page with ".wikitable.wikitable-striped > tbody tr:nth-of-type(2n) { background-color: var(--clr-surface-2,#f5f5f5); }")
- 21:16, 18 August 2022 Couchor talk contribs created page Module:Squad/Custom (Created page with "local Class = require('Module:Class') local Json = require('Module:Json') local ReferenceCleaner = require('Module:ReferenceCleaner') local Squad = require('Module:Squad') local SquadRow = require('Module:Squad/Row') local String = require('Module:StringUtils') local Variables = require('Module:Variables') local CustomSquad = {} function CustomSquad.header(self) local makeHeader = function(wikiText) local headerCell = mw.html.create('th') if wikiText == nil then...")
- 21:16, 18 August 2022 Couchor talk contribs created page Module:Variables (Created page with "local Class = require('Module:Class') local Variables = {} ---Stores a wiki-variable and returns the empty string ---@param name string Key of the wiki-variable ---@param value string Value of the wiki-variable ---@return string #always the empty string function Variables.varDefine(name, value) return mw.ext.VariablesLua.vardefine(name, value) end ---Stores a wiki-variable and returns the stored value ---@param name string Key of the wiki-variable ---@param value str...")
- 21:15, 18 August 2022 Couchor talk contribs created page Module:StringUtils (Created page with "local String = {} function String.startsWith(str, start) return str:sub(1, #start) == start --str:find('^' .. start) ~= nil end function String.endsWith(str, ending) return ending == '' or str:sub(-#ending) == ending end function String.split(inputstr, sep) if inputstr ~= nil then if sep == nil then sep = '%s' end inputstr = inputstr:gsub(sep, '&') local t = {} local i = 1 for str in string.gmatch(inputstr, '([^&]+)') do t[i] = str i = i + 1...")
- 21:14, 18 August 2022 Couchor talk contribs created page Module:Squad/Row (Created page with "local Class = require('Module:Class') local Flags = require('Module:Flags') local Player = require('Module:Player') local ReferenceCleaner = require('Module:ReferenceCleaner') local String = require('Module:StringUtils') local Template = require('Module:Template') local Table = require('Module:Table') -- TODO: Decided on all valid types -- TODO: Move to dedicated module local _VALID_TYPES = {'player', 'staff'} local _DEFAULT_TYPE = 'player' local _ICON_CAPTAIN = 'im...")
- 21:14, 18 August 2022 Couchor talk contribs created page Module:Squad (Created page with "local Class = require('Module:Class') local Arguments = require('Module:Arguments') local String = require('Module:StringUtils') local Squad = Class.new() Squad.TYPE_ACTIVE = 0 Squad.TYPE_INACTIVE = 1 Squad.TYPE_FORMER = 2 Squad.TYPE_FORMER_INACTIVE = 3 function Squad:init(frame) self.frame = frame self.args = Arguments.getArgs(frame) self.root = mw.html.create('div') self.root :addClass('table-responsive') -- TODO: is this needed? :css('margin-bottom', '1...")
- 21:14, 18 August 2022 Couchor talk contribs created page Module:ReferenceCleaner (Created page with "local Class = require('Module:Class') local ReferenceCleaner = {} function ReferenceCleaner.clean(dateWithRef) if dateWithRef == nil then return '' end -- due to '-' and '?' being part of the 'magic' characters for patterns -- we have to escape them with '%' dateWithRef = dateWithRef:gsub('%-%?%?', '-01') dateWithRef = dateWithRef:gsub('%-XX', '-01') local correctDate = string.match(dateWithRef, '(%d+-%d+-%d+)') if correctDate then return correctDate end...")
- 21:13, 18 August 2022 Couchor talk contribs created page Module:Json (Created page with "local Json = {} local Arguments = require('Module:Arguments') function Json.fromArgs(frame) local args = Arguments.getArgs(frame) return Json.stringify(args) end function Json.stringify(obj, pretty) return mw.text.jsonEncode(obj, pretty == true and mw.text.JSON_PRETTY or nil) end function Json.parse(obj) local parse = function(object) return mw.text.jsonDecode(object, mw.text.JSON_TRY_FIXING) end local status, res = pcall(parse, obj); if status then return re...")
- 21:12, 18 August 2022 Couchor talk contribs created page Module:Arguments (Created page with "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' then val = val:match('^%s*(.-)%s*$') if val == '' then return nil else return val end else return val end end local function tidyValTrimOnly(key, val) if type(val) ==...")
- 21:10, 18 August 2022 Couchor talk contribs created page Module:Class (Created page with "local Arguments = require('Module:Arguments') local Class = {} Class.PRIVATE_FUNCTION_SPECIFIER = '_' function Class.new(base, init) local instance = {} if not init and type(base) == 'function' then init = base base = nil elseif type(base) == 'table' then for index, value in pairs(base) do instance[index] = value end instance._base = base end instance.__index = instance local metatable = {} metatable.__call = function(class_tbl, ...) local o...")
- 21:04, 18 August 2022 Couchor talk contribs created page Template:Para (Created page with "<code class="nowrap" {{#if:{{{plain|}}}|style="border:none;background-color:inherit;color:inherit;"}}>|{{#if:{{{1|}}}|{{{1}}}=}}{{{2|}}}</code><noinclude> {{Documentation}} Category:Source Wikipedia </noinclude>")
- 20:58, 18 August 2022 Couchor talk contribs created page Template:Person (Created page with "<includeonly>{{#invoke:Json|fromArgs}}<!-- -->{{#ifeq:{{NAMESPACE}}||{{#subobject:SquadPlayer_{{{link|{{{id|}}}}}}_{{#if:{{{leavedate|{{{inactivedate|}}}}}}|former_}}player_of_{{#var:squad_name|{{FULLPAGENAME}}}} |has id={{{id|}}} |has page={{{link|{{{id|}}}}}} |has team={{#var:squad_name|{{FULLPAGENAME}}}} |has team region={{#var:region|}} |has team page={{FULLPAGENAME}} |has real name={{{name|}}} |has flag={{{flag|}}} |is captain={{#if:{{{captain|}}}|true}} |has join...")
- 20:56, 18 August 2022 Couchor talk contribs created page Template:Squad (Created page with "<includeonly>{{#invoke:Squad/Custom|run}}</includeonly><noinclude>{{Documentation}}</noinclude>")
- 16:33, 18 August 2022 Couchor talk contribs created page Template:Flag/uk (Created page with "<span class="flag">United Kingdom|link=:Category:United Kingdom</span>")
- 16:32, 18 August 2022 Couchor talk contribs created page Template:Flag/us (Created page with "<span class="flag">United States|link=:Category:United States</span>")
- 16:04, 18 August 2022 Couchor talk contribs created page Template:Documentation (Created page with "<div class="documentation"> <h2><span class="mw-headline">Documentation</span> <span class="mw-editsection">([[{{{1|{{FULLPAGENAME}}/doc}}}|view]] - [{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=edit}} edit])</span></h2>__NOTOC__ __NOEDITSECTION__ {{ {{{1|{{FULLPAGENAME}}/doc}}} }} </div> <noinclude>Category:Template namespace templates</noinclude>")
- 16:03, 18 August 2022 Couchor talk contribs created page Template:Tl (Created page with "{{[[Template:{{{1}}}|{{{1}}}]]}}<noinclude>Category:Templates</noinclude>")
- 16:02, 18 August 2022 Couchor talk contribs created page Template:Nowrap (Created page with "<span style="white-space:nowrap;">{{{1}}}</span><noinclude>{{documentation}}<!--interwikis/categories go inside doc--></noinclude>")
- 16:02, 18 August 2022 Couchor talk contribs created page Template:Flag/zw (Created page with "<span class="flag">Zimbabwe|link=:Category:Zimbabwe</span>")
- 16:02, 18 August 2022 Couchor talk contribs created page Template:Flag/za (Created page with "<span class="flag">South Africa|link=:Category:South Africa</span>")
- 16:02, 18 August 2022 Couchor talk contribs created page Template:Flag/world (Created page with "<span class="flag">World|link=:Category:World</span>")
- 16:01, 18 August 2022 Couchor talk contribs created page File:World.png
- 16:01, 18 August 2022 Couchor talk contribs uploaded File:World.png
- 16:01, 18 August 2022 Couchor talk contribs created page Template:Flag/vn (Created page with "<span class="flag">Vietnam|link=:Category:Vietnam</span>")
- 16:01, 18 August 2022 Couchor talk contribs created page Template:Flag/ve (Created page with "<span class="flag">Venezuela|link=:Category:Venezuela</span>")
- 16:01, 18 August 2022 Couchor talk contribs created page Template:Flag/uz (Created page with "<span class="flag">Uzbekistan|link=:Category:Uzbekistan</span>")
- 16:01, 18 August 2022 Couchor talk contribs created page Template:Flag/usuk (Created page with "<span class="flag">English Speaking</span>")
- 16:00, 18 August 2022 Couchor talk contribs created page File:UsGb.png
- 16:00, 18 August 2022 Couchor talk contribs uploaded File:UsGb.png
- 16:00, 18 August 2022 Couchor talk contribs created page Template:Flag/usa (Created page with "<span class="flag">United States|link=:Category:United States</span>")
- 16:00, 18 August 2022 Couchor talk contribs created page Template:Flag/un (Created page with "<span class="flag">United Nations|link=:Category:United Nations</span>")
- 15:59, 18 August 2022 Couchor talk contribs created page File:Un.png
- 15:59, 18 August 2022 Couchor talk contribs uploaded File:Un.png
- 15:59, 18 August 2022 Couchor talk contribs created page Template:Flag/ukwa (Created page with "<span class="flag">Wales|link=:Category:Wales</span>")