All public logs
Jump to navigation
Jump to search
Combined display of all available logs of Zelda Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 04:26, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/unique/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"array"}, returns = "A copy of <code>array</code> but without the duplicate values. Elements are deep-compared. he order of result values is determined by the order they occur in the array.", cases = { { args = { {1, 2, 2, {foo = "bar"}, {foo = "quux"}, {foo = "bar"}}, }, expect = {1, 2, {foo = "bar"}, {foo = "quux"}}, }, }, } end return p")
- 04:24, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/unique (Created page with "local _isEqual = require("Module:Util/tables/_isEqual") local find = require("Module:Util/tables/find") local function unique(tbl) local result = {} local cache = {} for i, v in ipairs(tbl) do if type(v) ~= "table" and not cache[v] then cache[v] = true table.insert(result, v) elseif not p.find(result, p._isEqual(v)) then table.insert(result, v) end end return result end return unique")
- 04:24, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/unique/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 04:20, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/ isEqual/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"tbl"}, returns = "A function which accepts a table and returns <code>true</code> if said table deep equals <code>tbl</code>, otherwise returns <code>false</code>", } end return p")
- 04:16, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/ isEqual/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 04:16, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/ isEqual (Created page with "local isEqual = require("Module:Util/tables/isEqual") local function _isEqual(src) return function(tbl) return isEqual(src, tbl) end end return _isEqual")
- 04:15, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/isEqual/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"tbl", "other"}, returns = "<code>true</code> if <code>tbl</code> deep equals <code>other</code>.", cases = { { args = { { foo = { bar = "baz" } }, { foo = { bar = "baz" } }, }, expect = true, }, { args = { { foo = { bar = "baz" } }, { foo = { bar = "quux" } }, }, expect = false, }, } } end return p")
- 04:09, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/filter/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"array", "iteratee"}, returns = "Iterates over array elements in <code>array</code>, returning an array of all elements <code>iteratee</code> returns truthy for.", cases = { { snippet = 1, expect = {"TLoZ", "TAoL"}, }, { desc = "<code>property</code> iteratee shorthand", args = { { { game = "The Wind Waker", canon = true }, { game =...")
- 04:09, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/filter/Documentation/Snippets (Created page with "local p = {} local util = { strings = { _startsWith = require("Module:Util/strings/_startsWith") }, tables = { filter = require("Module:Util/tables/filter") }, } function p.filter1() local games = {"TLoZ", "TAoL", "ALttP"} return util.tables.filter(games, util.strings._startsWith("A")) end return p")
- 04:00, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/ isMatch/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"tbl"}, returns = "A function which accepts a table and returns <code>true</code> if that table has all the values that <code>tbl</code> has. The table may have additional properties that <code>tbl</code> does not have.", cases = { { snippet = 1, expect = {true, false} } } } end return p")
- 04:00, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/ isMatch/Documentation/Snippets (Created page with "local p = {} local util = { tables = { _isMatch = require("Module:Util/tables/_isMatch") } } function p._isMatch1() local isALBW = util.tables._isMatch({ abbr = "ABLW" }) return { isABLW({ abbr = "ALBW", title = "A Link Between Worlds"}), isALBW({ abbr = "ALttP", title = "A Link to the Past"}), } end return p")
- 03:54, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/ isMatch/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 03:54, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/ isMatch (Created page with "local isMatch = require("Module:Util/tables/isMatch") local function _isMatch(src) return function(tbl) return isMatch(tbl, src) end end return _isMatch")
- 03:48, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/isMatch/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { desc = "Performs a partial deep comparison between <code>tbl</code> and <code>source</code> to determine if <code>tbl</code> contains all the same values as <code>source</code>.", params = {"tbl", "source"}, returns = "Returns <code>true</code> if <code>tbl</code> is a match, else false", cases = { { args = { { foo = { bar = "baz", flip = "flop" } }, { foo = { bar = "baz" } }, }, expect =...")
- 03:45, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/isMatch/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 03:45, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/isMatch (Created page with "local function isMatch(tbl, src) for k, v in pairs(src) do if type(v) == "table" and not isMatch(tbl[k], v) then return false end if v ~= tbl[k] then return false end end return true end return isMatch")
- 03:44, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/ property/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"key"}, returns = "A function that accepts a table and returns the table's value for <code>key</code>", cases = { outputOnly = true, { snippet = 1, expect = "OoT", }, { snippet = 2, expect = nil, }, } } end return p")
- 03:41, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/ property/Documentation/Snippets (Created page with "local p local util = { tables = { _property = require("Module:Util/tables/_property") } } function p._property1() local games = { { abbr = "OoT", title = "Ocarina of Time", }, { title = "Bayonetta" }, } local getAbbr = util.tables._property("abbr") return { getAbbr(games[1]), getAbbr(games[2]), } end return p")
- 03:34, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/ property/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 03:33, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/ property (Created page with "local function _property(key) return function(tbl) return tbl[key] end end return _property")
- 03:29, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/property/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"tbl", "key"}, returns = "The value of <code>tbl[key]</code>", cases = { outputOnly = true, { args = { { foo = "bar" }, "foo"}, expect = "bar", }, { args = { { foo = "bar" }, "baz"}, expect = nil, }, }, } end return p")
- 03:25, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/property (Created page with "local function property(key) return function(tbl) return tbl[key] end end return property")
- 03:24, 20 May 2024 PhantomCaleb talk contribs deleted page Module:Util/tables/property (content was: "local function property(key) return function(tbl) return tbl[key] end end return property", and the only contributor was "PhantomCaleb" (talk))
- 03:22, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/property/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 03:22, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/property (Created page with "local function property(key) return function(tbl) return tbl[key] end end return property")
- 03:19, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/isEqual/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 03:19, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/isEqual (Created page with "local isMatch = require("Module:Util/tables/isMatch") local function isEqual(a, b) if type(a) ~= "table" or type(b) ~= "table" then return a == b end return isMatch(a, b) and isMatch(b, a) end return isEqual")
- 03:15, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/find/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"tbl", "iteratee"}, returns = {"The value if found, else <code>nil</code>", "The index of the value found, else <code>nil</code>"}, cases = { outputOnly = true, { snippet = 1, expect = {"bar", 2} }, { snippet = 2, expect = {nil, nil}, }, { desc = propertyShorthand, args = { { { game = "Tingle's Rosy Rupeeland", canon = false }, { game = "The Wind...")
- 03:15, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/find/Documentation/Snippets (Created page with "local p = {} local util = { strings = { _startsWith = require("Module:Util/strings/_startsWith"), }, tables = { find = require("Module:Util/tables/find"), }, } function p.find1() local args = {"foo", "bar", "baz"} return util.tables.find(args, util.strings._startsWith("b")) end function p.find2() local args = {"foo", "quux", "quux"} return util.tables.find(args, util.strings._startsWith("b")) end return p")
- 03:04, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/map/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"array", "iteratee"}, returns = "Creates an array of values by running each array element in <code>array</code> thru <code>iteratee</code>.", cases = { { snippet = 1, expect = {"true", "false"}, }, { desc = "<code>property</code> iteratee shorthand", args = { { { name = "Link", triforce = "Courage", }, { n...")
- 03:03, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/map/Documentation/Snippets (Created page with "local p = {} local util = { tables = { map = require("Module:Util/tables/map") } } function p.map1() local args = {true, false} return util.tables.map(args, tostring) end return p")
- 03:01, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/map/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 03:01, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/map (Created page with "local iteratee = require("Module:Util/tables/iteratee") local function map(tbl, mapFn) local mapFn = iteratee(mapFn) local result = {} for i, v in ipairs(tbl) do result[i] = mapFn(v) end return result end return map")
- 02:50, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/invert/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"tbl"}, returns = "A table with the values of <code>tbl</code> as its keys, and vice-versa.", cases = { { args = {{"foo", "bar", baz = "quux"}}, expect = { foo = 1, bar = 2, quux = "baz" }, }, { desc = "Values will be overwritten if <code>tbl</code> has duplicate values. Overwrite order is not guaranteeed.", args = {{ Ganon = "Power", Ganondorf = "Po...")
- 02:49, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/invert/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 02:48, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/invert (Created page with "local function invert(tbl) local inverted = {} for k, v in pairs(tbl) do inverted[v] = k end return inverted end return inverted")
- 02:38, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/partition/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"array", "iteratee"}, returns = { "<code>array</code> elements that <code>iteratee</code> returns truthy for.", "<code>array</code> elements that <code>iteratee</code> returns falsey for.", }, cases = { outputOnly = true, { snippet = 1, expect = { {"foo", "quux"}, {"bar", "baz"}, }, }, { desc = "<code>property</code> [[Module:Util/tables/iteratee|iteratee shor...")
- 02:36, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/partition/Documentation/Snippets (Created page with "local p = {} local util = { tables = { partition = require("Module:Util/tables/partition") } } function p.partition1() local tbl = {"foo", "bar", "baz", "quux"} return util.tables.partition(tbl, function(str) return str:sub(1, 1) ~= "b" end) end return p")
- 02:33, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/partition/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 02:32, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/partition (Created page with "local iteratee = require("Module:Utils/tables/iteratee") local function partition(tbl, predicate) predicate = iteratee(predicate) local trues = {} local falses = {} for i, v in ipairs(tbl) do if predicate(v) then table.insert(trues, v) else table.insert(falses, v) end end return trues, falses end return partition")
- 00:14, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/ endsWith/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"substr"}, returns = "A function that accepts a string and returns a boolean indicating whether the string ends with <code>substr</code>.", cases = { { snippet = 1, expect = {true, false}, }, { snippet = 2, expect = {"Agahnim", "Moldorm"}, } } } end return p")
- 00:12, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/ endsWith/Documentation/Snippets (Created page with "local p = {} local util = { strings = { _endsWith = require("Module:Util/strings/_endsWith") }, tables = { filter = require("Module:Util/tables/filter") }, } function p._endsWith1() local endsWithM = util.strings._endsWith("m") return { endsWithA("Agahnim"), endsWithA("Ganon"), } end function p._endsWith2() local names = {"Agahnim", "Ganon", "Moldorm"} local endsWithM = util.strings._endsWith("m") local namesEndingWithM = util.tables.filter(names, e...")
- 00:11, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/ endsWith/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 00:10, 20 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/ endsWith (Created page with "local endsWith = require("Module:Util/strings/endsWith") local function _endsWith(substr) return function(str) return endsWith(str, substr) end end return _endsWith")
- 20:28, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/ startsWith/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"substr"}, returns = "A function that accepts a string and returns a boolean indicating whether the string starts with <code>substr</code>.", cases = { { snippet = 1, expect = {}, }, { snippet = 2, expect = {}, } } } end return p")
- 20:25, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/filter/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 20:25, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/filter (Created page with "local iteratee = require("Module:Util/tables/iteratee") local function filter(predicate) predicate = iteratee(predicate) local results = {} for i, v in ipairs(tbl) do if predicateFn(v) then table.insert(results, v) end end return results end return filter")
- 20:15, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/ startsWith/Documentation/Snippets (Created page with "local p = {} local util = { strings = { _startsWith = require("Module:Util/strings/_startsWith") }, tables = { filter = require("Module:Util/tables/filter") }, } function p._startsWith1() local startsWithA = util.strings._startsWith("A") return { startsWithA("Agahnim"), startsWithA("Ganon"), } end function p._startsWith2() local names = {"Agahnim", "Ganon", "Arrghus"} local startsWithA = util.strings._startsWith("A") local namesStartingWithA = util....")
- 19:59, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/ startsWith/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 19:54, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/ startsWith (Created page with "local startsWith = require("Module:Util/strings/startsWith") local function _startsWith(substr) return function(str) return startsWith(substr, str) end end return _startsWith")
- 19:49, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/startsWith/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"str", "pattern"}, _params = {{"pattern"}, {"str"}}, returns = "<code>true</code> if <code>str</code> starts with <code>pattern</code>, else <code>false</code>.", cases = { { args = {"Fooloo Limpah", "Foo"}, expect = true, }, { args = {"Fooloo Limpah", "foo"}, expect = false, }, { args = {"Fooloo Limpah", ""}, expect = true, }, { args = {"foo", "[["},...")
- 19:47, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/startsWith/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 19:46, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/startsWith (Created page with "local function startsWith(str, substr) return substr == string.sub(str, 1, #str - #substr) end return startsWith")
- 19:42, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/find/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 19:42, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/find (Created page with "local iteratee = require("Module:Util/tables/iterateee") local function find(tbl, predicate) predicate = iteratee(predicate) for i, v in ipairs(tbl) do if predicate(v) then return v, i end end return nil, nil end return find")
- 19:35, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/compact/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"array"}, returns = "Creates an array with falsey values removed.", cases = { { args = {{0, nil, false, 1, ""}}, expect = {0, 1, ""} }, }, } end return p")
- 19:34, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/compact/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 19:34, 19 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/compact (Created page with "local function compact(tbl) local result = {} local j = 1 for i = 1, table.maxn(tbl) do if tbl[i] then result[j] = tbl[i] j = j + 1 end end return result end return compact")
- 22:04, 13 May 2024 PhantomCaleb talk contribs moved page Module:Util/schemas/validate to Module:Util/schema/validate without leaving a redirect
- 22:04, 13 May 2024 PhantomCaleb talk contribs moved page Module:Util/schemas/validate/Documentation to Module:Util/schema/validate/Documentation without leaving a redirect
- 22:04, 13 May 2024 PhantomCaleb talk contribs moved page Module:Util/schemas/validate/Documentation/Spec to Module:Util/schema/validate/Documentation/Spec without leaving a redirect
- 21:29, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/iteratee/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"val"}, returns = "An iteratee function", cases = { outputOnly = true, { desc = "Iteratee from string (<code>property</code> shorthand)", snippet = "Str1", expect = "OoA", }, { snippet = "Str2", expect = nil, }, { desc = "Iteratee from table (<code>match</code> shorthand)", snippet = "Tbl1", expect = true, }, { snippet = "Tbl2", expect = fals...")
- 21:15, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/iteratee/Documentation/Snippets (Created page with "local p = {} local util = { tables = { iteratee = require("Module:Util/tables/iteratee") } } function p.iterateeString() local games = { { abbr = "OoA", title = "Oracle of Ages" }, { title = "Bayonetta" }, } local iteratee = util.tables.iteratee("abbr") return { iteratee(games[1]), iteratee(games[2]), } end function p.iterateeTbl() end function p.iterateeFunc() end function p.iterateeNil() end return p")
- 21:03, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/iteratee/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 21:03, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/iteratee (Created page with "local function property(key) return function(tbl) return tbl[key] end end local function isMatch(src) return function(tbl) for k, v in pairs(src) do if type(v) == "table" and not isMatch(tbl[k], v) then return false end if v ~= tbl[k] then return false end end return true end end local function identity(val) return val end local function iteratee(val) if type(val) == "function" then return val end if type(val) == "string" or type(...")
- 20:52, 12 May 2024 PhantomCaleb talk contribs deleted page Module:Util/tables/property (content was: "local function property(tbl, path) if type(path) ~= "table" then path = {path} end local result = tbl for i, key in ipairs(path) do result = result[key] if result == nil then return nil end end return result end return property", and the only contributor was "PhantomCaleb" (talk))
- 20:52, 12 May 2024 PhantomCaleb talk contribs deleted page Module:Util/tables/property/Documentation (content was: "{{#invoke:Documentation|Module}}", and the only contributor was "PhantomCaleb" (talk))
- 20:52, 12 May 2024 PhantomCaleb talk contribs deleted page Module:Util/tables/property/Documentation/Spec (content was: "local p = {} function p.Documentation() return { params = {"tbl", "path"}, returns = "The value at <code>path</code> for <code>tbl</code>.", cases = { outputOnly = true, { args = {{ foo = {"bar"} }, {"foo", 1}}, expect = "bar", }, { args = {{ foo = {"bar"} }, {"foo", "bar", "baz"}}, expect = nil, }, }, } end return p", and the only contributor was "PhantomCaleb" (talk))
- 19:56, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/property/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"tbl", "path"}, returns = "The value at <code>path</code> for <code>tbl</code>.", cases = { outputOnly = true, { args = {{ foo = {"bar"} }, {"foo", 1}}, expect = "bar", }, { args = {{ foo = {"bar"} }, {"foo", "bar", "baz"}}, expect = nil, }, }, } end return p")
- 19:51, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/property/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 19:51, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/property (Created page with "local function property(tbl, path) if type(path) ~= "table" then path = {path} end local result for i, key in ipairs(path) do result = result[key] if result == nil then return nil end end return result end return property")
- 17:26, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/merge/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { desc = "Recursively merges tables.", params = {"tbl", "..." }, returns = "<code>tbl</code> with merged values. Subsequent sources overwrite key assignments of previous sources.", cases = { { snippet = 1, expect = { flib = "flob", foo = { bar = {"noot", "flob"}, baz = "noot", wibble = "wobble", }, } }, { desc = "Common use: merging keys into new table.",...")
- 17:26, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/merge/Documentation/Snippets (Created page with "local p = {} local util = { tables = { merge = require("Module:Util/tables/merge") } } function p.merge1() local tbl = { flib = "flob", foo = { bar = {"flib", "flob"}, baz = {"quux", "quuz"}, }, } util.tables.merge(tbl, { foo = { bar = {"noot"}, baz = "noot", wibble = "wobble", }, }) return tbl end return p")
- 17:24, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/merge/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 17:23, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/merge (Created page with "local function merge(tbl, ...) if tbl == nil then return nil end for i, source in ipairs({...}) do for k, v in pairs(source) do if type(v) == "table" and type(tbl[k]) == "table" then tbl[k] = merge({}, tbl[k], v) else tbl[k] = v end end end return tbl end return merge")
- 17:14, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/markup/code/Documentation/Spec (Created page with "local p = {} function p.Schemas() return { text = { type = "string", required = true, }, } end function p.Documentation() return { params = {"text"}, returns = "<code>text</code> wrapped in [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code <nowiki><code></nowiki>] tags.", cases = { { args = {"code stuff"}, expect = "<code>code stuff</code>", }, }, } end return p")
- 17:12, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/markup/code/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 17:11, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/markup/code (Created page with "local function code(text) return "<code>"..text.."</code>" end return code")
- 16:06, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/schemas/validate/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 16:05, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/schemas/validate (Copy from Module:UtilsSchema)
- 15:56, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/schemas/validate/Documentation/Spec (Created page with "local p = {} function p.Schemas() return { required = true, desc = "A map of schema names to schemas. Aside from <code>Data</code>, each schema name should match a function in the module.", type = "map", keys = { type = "string" }, keyPlaceholder = "schema name", values = { allOf = { { type = "record", properties = { { name = "definitions", desc = "Schema fragments for [[Module:Documentation#Schema References|referencing...")
- 15:39, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/interpolate/Documentation/Spec (Created page with "local p = {} function p.Schemas() return { str = { type = "string", required = true, }, tbl = { type = "map", required = true, keys = { type = "string" }, values = { type = "string" }, }, } end function p.Documentation() return { desc = "Approximation of [http://lua-users.org/wiki/StringInterpolation string interpolation]", params = {"str", "tbl"}, returns = "The formatted string.", cases = { outputOnly = true, { args = {"...")
- 15:37, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/interpolate/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 15:36, 12 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/interpolate (Created page with "-- By http://lua-users.org/wiki/RiciLake local function interpolate(str, tbl) local outStr = string.gsub(str, '($%b{})', function(w) return tbl[w:sub(3, -2)] or w end) return outStr end return interpolate")
- 20:17, 11 May 2024 PhantomCaleb talk contribs created page Module:Util/pages/Documentation (Created page with "This is the base page for utility functions that query for information about the wiki's pages. {{#invoke:Documentation|ListFunctions}}")
- 20:16, 11 May 2024 PhantomCaleb talk contribs created page Module:Util/pages (Created blank page)
- 20:15, 11 May 2024 PhantomCaleb talk contribs created page Module:Util/markup/Documentation (Created page with "This is the base page for utility functions related to wikitext and HTML. {{#invoke:Util|ListFunctions}}")
- 20:13, 11 May 2024 PhantomCaleb talk contribs created page Module:Util/markup (Created blank page)
- 20:13, 11 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/Documentation (Created page with "This is the base page for utility functions that operate on Lua strings. {{#invoke:Util|ListFunctions}}")
- 20:11, 11 May 2024 PhantomCaleb talk contribs created page Module:Util/strings (Created blank page)
- 20:06, 11 May 2024 PhantomCaleb talk contribs created page Module:Util/markup/listBulleted/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"items"}, returns = "A bulleted list ([https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul <code>ul</code>]).", cases = { { args = { { "foo", "bar", "baz" }, }, expect = "<ul><li>foo</li><li>bar</li><li>baz</li></ul>", }, } } end return p")
- 20:01, 11 May 2024 PhantomCaleb talk contribs created page Module:Util/markup/listBulleted/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 20:01, 11 May 2024 PhantomCaleb talk contribs created page Module:Util/markup/listBulleted (Created page with "local function listBulleted(items) if not items then return "" end local ul = mw.html.create("ul") for i, v in ipairs(items) do ul:tag("li"):wikitext(v) end return tostring(ul) end return listBulleted")
- 18:11, 11 May 2024 PhantomCaleb talk contribs created page Module:Util/tables/Documentation (Created page with "This is the base page for {{SITENAME}}'s utility functions for Lua tables. The functionality and naming is inspired by the [https://lodash.com Lodash] JavaScript library. {{#invoke:Util|ListFunctions}}")
- 19:45, 6 May 2024 PhantomCaleb talk contribs protected Breath of the Wild Translations/Items [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 19:44, 6 May 2024 PhantomCaleb talk contribs removed protection from Breath of the Wild Translations/Items (hist)
- 19:44, 6 May 2024 PhantomCaleb talk contribs removed protection from Breath of the Wild Translations/Enemies (hist)
- 19:43, 6 May 2024 PhantomCaleb talk contribs removed protection from Breath of the Wild Translations/Characters (hist)
- 15:10, 6 May 2024 PhantomCaleb talk contribs changed protection settings for Breath of the Wild Translations/Miscellaneous [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 15:00, 6 May 2024 PhantomCaleb talk contribs changed protection settings for Breath of the Wild Translations/Miscellaneous [Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite) (hist)
- 14:58, 6 May 2024 PhantomCaleb talk contribs changed group membership for Doge229 from (none) to curators
- 21:25, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/pages/listSubpages/Documentation/Spec (Created page with "local p = {} function p.Schemas() return { fullPageName = { type = "string", desc = "A full page name with namespace prefix. If nil, <code>mw.title.getCurrentTitle()</code> is used.", }, } end function p.Documentation() return { params = {"fullPageName"}, returns = "A list of subpages", cases = { outputOnly = true, { args = {"Module:Constants"}, }, { args = {}, }, }, } end return p")
- 21:22, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/pages/listSubpages/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 21:22, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/pages/listSubpages (Created page with "local dpl = require("Module:Util/pages/dpl") local function listSubpages(fullPageName) local title = fullPageName and mw.title.new(fullPageName) or mw.title.getCurrentTitle() local pages = dpl({ namespace= title.nsText, titlematch= '%' .. title.text .. '/%', }) table.sort(pages) return pages end return listSubpages")
- 21:20, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/trim/Documentation/Spec (Created page with "local p = {} function p.Schemas() return { pattern = { type = "string", }, str = { type = "string", required = true, }, } end function p.Documentation() return { desc = "A performant alternative to {{Scribunto Manual|lib=mw.text.trim}}.", params = {"str", "pattern"}, returns = "The trimmed string.", cases = { outputOnly = true, { args = {" foo"}, expect = "foo", }, {...")
- 21:18, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/trim/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 21:18, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/trim (Created page with "-- Source: https://phabricator.wikimedia.org/diffusion/ELUA/browse/master/includes/engines/LuaCommon/lualib/mw.text.lua local function trim(s, charset) charset = charset or '\t\r\n\f%s' s = s:gsub( '^[' .. charset .. ']*(.-)[' .. charset .. ']*$', '%1' ) return s end return trim")
- 21:15, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/split/Documentation/Spec (Created page with "local p = {} function p.Schemas() return { str = { type = "string", required = true, }, pattern = { type = "string", default = mw.dumpObject("%s*,%s*"), } } end function p.Documentation() return { desc = "A performant alternative to {{Scribunto Manual|lib=mw.text.split}}.", params = {"str", "pattern", "plain"}, returns = "A <code>table</code> of the split strings.", cases = { {...")
- 21:10, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/split/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 21:10, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/split (Created page with "local function split(text, pattern, plain) pattern = pattern or "%s*,%s*" local ret = {} if pattern == "" then for m in string.gmatch(text, "([%z\1-\127\194-\244][\128-\191]*)") do ret[#ret+1] = m end return ret end local i = 1 while true do local startIndex, endIndex = string.find(text, pattern, i, plain) local s = string.sub(text, i, startIndex and startIndex-1) table.insert(ret, s) if startIndex == nil then break end i = endIndex...")
- 20:55, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/endsWith/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"str", "pattern"}, returns = "<code>true</code> if <code>str</code> ends with <code>pattern</code>, else <code>false</code>.", cases = { { args = {"Fooloo Limpah", "Limpah"}, expect = true, }, { args = {"Fooloo Limpah", "limpah"}, expect = false, }, { args = {"Fooloo Limpah", ""}, expect = true, }, { args = {"Wood (Character)", ")", true}, expect = true...")
- 20:54, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/endsWith/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 20:54, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/strings/endsWith (Created page with "local function endsWith() end return endsWith")
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/len/Documentation to Module:Util/tables/len/Documentation without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/len/Documentation/Spec to Module:Util/tables/len/Documentation/Spec without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/size to Module:Util/tables/size without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/size/Documentation to Module:Util/tables/size/Documentation without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/size/Documentation/Spec to Module:Util/tables/size/Documentation/Spec without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl to Module:Util/tables without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/clone to Module:Util/tables/clone without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/clone/Documentation to Module:Util/tables/clone/Documentation without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/clone/Documentation/Snippets to Module:Util/tables/clone/Documentation/Snippets without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/clone/Documentation/Spec to Module:Util/tables/clone/Documentation/Spec without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/concat to Module:Util/tables/concat without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/concat/Documentation to Module:Util/tables/concat/Documentation without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/concat/Documentation/Snippets to Module:Util/tables/concat/Documentation/Snippets without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/concat/Documentation/Spec to Module:Util/tables/concat/Documentation/Spec without leaving a redirect
- 17:37, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/tbl/len to Module:Util/tables/len without leaving a redirect
- 17:36, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/page/dpl to Module:Util/pages/dpl without leaving a redirect
- 17:36, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/page/dpl/Documentation to Module:Util/pages/dpl/Documentation without leaving a redirect
- 17:36, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/page/dpl/Documentation/Spec to Module:Util/pages/dpl/Documentation/Spec without leaving a redirect
- 17:23, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/page/dpl/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { desc = "<p>This function is wrapper for the DPL parser function.</p>" .. "<p>When constructing queries, keep in mind DPL's [https://www.mediawiki.org/wiki/Extension:DynamicPageList3#Configuration configured limits].</p>" .. "<ul>" .. "<li>A single query can return no more than 500 results. (<code>maxResultCount</code>)</li>" .. "<li>A single query using <code>category</c...")
- 17:22, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/page/dpl/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 17:21, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/page/dpl (Created page with "local function dpl(args) local dplArgs = "" for k, v in pairs(args) do if k == "format" or type(v) == "table" and v.value == "format" then mw.addWarning("<code>format</code> argument cannot be used here. Format the resulting Lua table instead.") elseif type(v) == "table" then for _, andedValue in ipairs(v) do dplArgs = dplArgs .. appendArg(k, andedValue) end else dplArgs = dplArgs .. appendArg(k, v) end end dplArgs = dplArgs .. appendArg("form...")
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table to Module:Util/tbl without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/clone to Module:Util/tbl/clone without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/clone/Documentation to Module:Util/tbl/clone/Documentation without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/clone/Documentation/Snippets to Module:Util/tbl/clone/Documentation/Snippets without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/clone/Documentation/Spec to Module:Util/tbl/clone/Documentation/Spec without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/concat to Module:Util/tbl/concat without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/concat/Documentation to Module:Util/tbl/concat/Documentation without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/concat/Documentation/Snippets to Module:Util/tbl/concat/Documentation/Snippets without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/concat/Documentation/Spec to Module:Util/tbl/concat/Documentation/Spec without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/len to Module:Util/tbl/len without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/len/Documentation to Module:Util/tbl/len/Documentation without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/len/Documentation/Spec to Module:Util/tbl/len/Documentation/Spec without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/size to Module:Util/tbl/size without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/size/Documentation to Module:Util/tbl/size/Documentation without leaving a redirect
- 17:05, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/size/Documentation/Spec to Module:Util/tbl/size/Documentation/Spec without leaving a redirect
- 16:35, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table (Created blank page)
- 16:34, 5 May 2024 PhantomCaleb talk contribs created page Module:Util (Created blank page)
- 16:33, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Documentation (Created page with "This is the root module for Zelda Wiki's '''utility functions''', i.e. functions that are not directly invoked by any template. They are only used by other modules, to solve common problems that arise when implementing module-based templates. This is inteded to eventually replace the existing utility modules, such as Module:UtilsTable, which cause large job queues due to the fact that they...")
- 15:55, 5 May 2024 PhantomCaleb talk contribs deleted page Module:Util/Table/hasArray (merged into Module:Util/Table/concat, the only module that uses it)
- 15:55, 5 May 2024 PhantomCaleb talk contribs deleted page Module:Util/Table/hasArray/Documentation/Spec (content was: "local p = {} function p.Documentation() return { params = {"tbl"}, returns = "True if the table contains integer keys (or is empty).", cases = { { args = {{1, 2, 3}}, expect = true, }, { args = {{}}, expect = true, }, { args = {{foo = "bar"}}, expect = false, }, { args = {{foo = "bar", "baz"}}, expect...", and the only contributor was "PhantomCaleb" (talk))
- 15:55, 5 May 2024 PhantomCaleb talk contribs deleted page Module:Util/Table/hasArray/Documentation (content was: "{{#invoke:Documentation|Module}}", and the only contributor was "PhantomCaleb" (talk))
- 15:51, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/concat/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"array", "..."}, returns = "Creates a new array concatenating array with any additional arrays and/or values.", cases = { { snippet = 1, expect = {1, 2, 3, 4, {5}, 6}, }, { desc = "Tables with only string keys are treated as single values.", args = {{}, {1, 2}, {3, 4, foo = "bar"}, { foo = "quux" }}, expect = {1, 2, 3, 4, { foo = "quux" }}, }, }, } end return p")
- 15:45, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/hasArray/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"tbl"}, returns = "True if the table contains integer keys (or is empty).", cases = { { args = {{1, 2, 3}}, expect = true, }, { args = {{}}, expect = true, }, { args = {{foo = "bar"}}, expect = false, }, { args = {{foo = "bar", "baz"}}, expect = true, }, } } end return p")
- 15:44, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/hasArray/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 15:44, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/hasArray (Created page with "function hasArray(tbl) if type(tbl) ~= "table" then return false end -- An empty table {} should be considered an array, sence the size == 0 check for i in ipairs(tbl) do return true -- has integer keys starting from 1, therefore hasArray = true end for k in pairs(tbl) do return false -- has no integer keys but has non-integer keys, therefore hasArray = false end return true -- has no keys at all and is therefore an "empty" array, therefore hasArray = true...")
- 15:37, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/size/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"tbl"}, returns = "Total number of keys in <code>tbl</code>.", cases = { { args = {{1, 2, foo = "bar"}}, expect = 3, }, }, } end return p")
- 15:36, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/size/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 15:36, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/size (Created page with "local function size(tbl) local count = 0 for k in pairs(tbl) do count = count + 1 end return count end return size")
- 15:34, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/len/Documentation/Spec (Created page with "local p = {} function p.Documentation() return { params = {"array"}, returns = "The length of the array. Works with {{Scribunto Manual|frame.args}} and tables loaded thru {{Scribunto Manual|mw.loadData}}.", cases = { { args = {{1, 2, 3, [10] = 10}}, expect = 3, }, }, } end return p")
- 15:33, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/len/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 15:33, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/len (Created page with "local clone = require("Module:Util/Table/clone") local function len(array) -- The # operator won't work on tables loaded via mw.loadData so we have to clone them first return #clone(array) end return len")
- 15:22, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/concat/Documentation/Snippets (Created page with "local p = {} local util = { table = { concat = require("Module:Util/Table/concat") } } function p.concat1() return utilsTable.concat({1}, 2, {3, 4}, {{5}}, {6}) end return p")
- 15:21, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/concat/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 15:20, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/concat (Created page with "local function concat(array, ...) if type(array) ~= "table" then array = {array} end local result = p.clone(array) for i, arrayOrValue in ipairs({...}) do if not p.hasArray(arrayOrValue) then h.append(result, arrayOrValue) else for _, value in ipairs(arrayOrValue) do h.append(result, value) end end end return result end return concat")
- 14:59, 5 May 2024 PhantomCaleb talk contribs created page Module:Util/Table/clone/Documentation/Snippets (Created page with "local p = {} function p.clone1() local original = { foo = {} } local clone = utilsTable.clone(original) return { clone, original ~= clone, original.foo == clone.foo, } end return p")
- 14:58, 5 May 2024 PhantomCaleb talk contribs moved page Module:Util/Table/clone/Spec to Module:Util/Table/clone/Documentation/Spec without leaving a redirect
- 14:43, 5 May 2024 PhantomCaleb talk contribs moved page Module:Utils/Table/clone to Module:Util/Table/clone without leaving a redirect
- 14:43, 5 May 2024 PhantomCaleb talk contribs moved page Module:Utils/Table/clone/Documentation to Module:Util/Table/clone/Documentation without leaving a redirect
- 14:43, 5 May 2024 PhantomCaleb talk contribs moved page Module:Utils/Table/clone/Spec to Module:Util/Table/clone/Spec without leaving a redirect
- 14:06, 5 May 2024 PhantomCaleb talk contribs moved page Module:UtilsTable/clone to Module:Utils/Table/clone without leaving a redirect
- 14:06, 5 May 2024 PhantomCaleb talk contribs moved page Module:UtilsTable/clone/Documentation to Module:Utils/Table/clone/Documentation without leaving a redirect
- 14:06, 5 May 2024 PhantomCaleb talk contribs moved page Module:UtilsTable/clone/Spec to Module:Utils/Table/clone/Spec without leaving a redirect
- 14:01, 5 May 2024 PhantomCaleb talk contribs created page Module:UtilsTable/clone/Documentation (Created page with "{{#invoke:Documentation|Module|module= UtilsTable/clone/Spec}}")
- 14:00, 5 May 2024 PhantomCaleb talk contribs created page Module:UtilsTable/clone/Spec (Created page with "local p = {} function p.Documentation() return { clone = { params = {"tbl"}, returns = "Creates a shallow clone of <code>tbl</code>.", cases = { { snippet = 1, expect = { { foo = {} }, true, true }, }, }, }, } end return p")
- 13:47, 5 May 2024 PhantomCaleb talk contribs moved page Module:UtilsTable/vNext to Module:UtilsTable/clone without leaving a redirect
- 13:46, 5 May 2024 PhantomCaleb talk contribs created page Module:UtilsTable/vNext (Created page with "function p.clone(val) if type(val) ~= "table" then return val end local result = {} for k, v in pairs(val) do result[k] = v end return result end")
- 20:21, 4 May 2024 PhantomCaleb talk contribs created page User:PhantomCaleb/Sandbox/Template:Infobox Language (Created page with "<noinclude>{{Documentation}}</noinclude>")
- 19:59, 4 May 2024 PhantomCaleb talk contribs created page Module:Infobox/vNext (Created page with "local p = {} -- Converts infobox configuration (e.g. Template:Infobox/Config/Character) into the template spec format that Module:Documentation and Module:UtilsArg understand. function p.configToTemplateSpec(config) return {} end return p")
- 19:54, 4 May 2024 PhantomCaleb talk contribs created page User:PhantomCaleb/Sandbox/Template:Infobox Language/Documentation (Created page with "{{#invoke:Infobox/DocGen|Template|Language}}")
- 19:46, 4 May 2024 PhantomCaleb talk contribs moved page Module:Infobox/ConfigDocGen to Module:Infobox/DocGen without leaving a redirect
- 19:46, 4 May 2024 PhantomCaleb talk contribs moved page Module:Infobox/ConfigDocGen/Documentation to Module:Infobox/DocGen/Documentation without leaving a redirect
- 20:32, 30 April 2024 PhantomCaleb talk contribs protected Zelda Wiki:Staff List [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
- 19:14, 30 April 2024 PhantomCaleb talk contribs removed protection from Zelda Wiki:Staff List (temporarily unprotecting for maintenance) (hist)
- 19:13, 30 April 2024 PhantomCaleb talk contribs removed protection from User:KevinTriforce15569@legacy41970991 (hist)
- 19:13, 30 April 2024 PhantomCaleb talk contribs removed protection from User:Ice Medallion@legacy41965084 (hist)
- 12:09, 25 April 2024 PhantomCaleb talk contribs deleted page File:Color Dungeon.ogg (Copyright violation)
- 01:53, 25 April 2024 PhantomCaleb talk contribs recreated the Cargo table ZWTicket
- 01:53, 25 April 2024 PhantomCaleb talk contribs created the Cargo table ZWTicket
- 01:52, 25 April 2024 PhantomCaleb talk contribs deleted the Cargo table ZWTicket
- 01:52, 25 April 2024 PhantomCaleb talk contribs recreated the Cargo table ZWTicket
- 18:16, 21 April 2024 PhantomCaleb talk contribs moved page Module:Infobox/DocGen to Module:Infobox/ConfigDocGen without leaving a redirect
- 18:16, 21 April 2024 PhantomCaleb talk contribs moved page Module:Infobox/DocGen/Documentation to Module:Infobox/ConfigDocGen/Documentation without leaving a redirect
- 14:24, 19 April 2024 PhantomCaleb talk contribs merged the user account "BluishBlue@legacy41971417" (41971417) into BluishBlue (51933142)
- 14:24, 19 April 2024 PhantomCaleb talk contribs deleted the user account "BluishBlue@legacy41971417" (41971417)
- 14:23, 19 April 2024 PhantomCaleb talk contribs changed group membership for BluishBlue from (none) to curators
- 20:31, 14 April 2024 PhantomCaleb talk contribs created page Module talk:Term/TemplateData (Issue Category:Tech issues: new section) Tags: New topic Source
- 23:54, 10 April 2024 PhantomCaleb talk contribs created page Module:Infobox/Config/Documentation (Created page with "This page defines the parameters that infoboxes have in common. The parameters for each specific infobox are declared on subpages of this page. These pages may opt in to (or opt out of) the parameters defined here. See Category:Infobox configuration pages for a list of such pages. Category:Infobox configuration pages")
- 23:49, 10 April 2024 PhantomCaleb talk contribs created page Category:Infobox configuration pages (Created page with "These pages define the parameters of infoboxes implemented using Module:Infobox. Category:Module Data")
- 23:43, 10 April 2024 PhantomCaleb talk contribs created page Module:Infobox/DocGen/Documentation (Created page with "This module generates the documentation for subpages of Module:Infobox/Config.")
- 23:39, 10 April 2024 PhantomCaleb talk contribs created page Template:Infobox Config Doc/Documentation (Created page with "==Purpose== Used by Module:Infobox/DocGen to generate documentation for subpages of Module:Infobox/Config. {{Documentation Footer}}<includeonly>Category:Documentation templates</includeonly>")
- 23:38, 10 April 2024 PhantomCaleb talk contribs created page Template:Infobox Config Doc (Created page with "This page defines the parameters of [[Template:Infobox {{{1}}}]]. The infobox may also include common parameters which are defined on the Module:Infobox/Config base page. When editing this page, you can preview the effect of your changes using the '''Preview page with this''' functionality beneath the "Save changes" button. Put <code>Template:Infobox {{{1}}}</code> in the '''Page title''' field and click "Show preview" to see how the template would look if you saved...")
- 08:53, 9 April 2024 PhantomCaleb talk contribs created page Module:Infobox/DocGen (Created page with "local p = {} function p.Main() local title = mw.title.getCurrentTitle() local cats = p.categorize(title) local subjectType = p.extractSubjectType(title) local text = "" .. string.format("<p>This page defines the parameters of Template:Infobox %s. Refer to the \"Schema\" tab below for information on the expected structure of the configuration data.</p>", subjectType) .. "<p>The infobox may include common parameters which are defined on the [[Module:Infobox/...")
- 08:44, 9 April 2024 PhantomCaleb talk contribs created page Module:Infobox/Config/Language/Documentation (Created page with "{{#invoke:Infobox/DocGen|Main}}")
- 13:50, 7 April 2024 PhantomCaleb talk contribs created page Module:Infobox/Config (Created page with "local CAT_BLANK_INFOBOX_NAME_PARAM = "Category:Infoboxes with blank name parameters" local CAT_INVALID_ARGS = mw.loadData("Module:Constants/category/invalidArgs") return { baseParams = { { param = "name", descr = "<p>The name of the ${subjectType} to display in the infobox header.</p><p>To be used only when auto-generated header is inadequate, which should be quite rare. See Module:Infobox for information on how the header name is determined automatically.<...")
- 13:14, 7 April 2024 PhantomCaleb talk contribs deleted page File:ZA Shrine of Fire 3.png (content was: "{{Delete}}", and the only contributor was "Mc-Gem" (talk))
- 13:14, 7 April 2024 PhantomCaleb talk contribs deleted page File:ZA Shrine of Fire 2.png (content was: "{{Delete}}", and the only contributor was "Mc-Gem" (talk))
- 22:08, 6 April 2024 PhantomCaleb talk contribs created page Module:Infobox/Config/Language (Created page with "return { category = "Category:Languages", inUniverse = true, addHiddenType = { ["written"] = "Category:Written Languages", ["verbal"] = "Category:Spoken Languages", ["written and verbal"] = {"Category:Written Languages", "Category:Spoken Languages"}, ["sign"] = "Category:Signed Languages", }, addParams = { { param = "era", label = "Era(s)", descr = "The Eras in which the language is extant." }, { param = "user", label = "User(s)",...")
- 11:34, 6 April 2024 PhantomCaleb talk contribs deleted page Module:Infobox/Fields/Documentation (content was: "<includeonly>Category:Module Data</includeonly>", and the only contributor was "PhantomCaleb" (talk))
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V/Sandbox/Akira to User:Fae/Sandbox/Akira (Automatically moved page while merging the account "V" to "Fae")
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V/Sandbox/Armor Upgrade to User:Fae/Sandbox/Armor Upgrade (Automatically moved page while merging the account "V" to "Fae")
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V/Sandbox/Cooking to User:Fae/Sandbox/Cooking (Automatically moved page while merging the account "V" to "Fae")
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V/Sandbox/Effect to User:Fae/Sandbox/Effect (Automatically moved page while merging the account "V" to "Fae")
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V/Sandbox/Goddess Sword to User:Fae/Sandbox/Goddess Sword (Automatically moved page while merging the account "V" to "Fae")
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V/Sandbox/Hateno Dye to User:Fae/Sandbox/Hateno Dye (Automatically moved page while merging the account "V" to "Fae")
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V/Sandbox/Hero of the Wild Set to User:Fae/Sandbox/Hero of the Wild Set (Automatically moved page while merging the account "V" to "Fae")
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V/Sandbox/Old Hylian to User:Fae/Sandbox/Old Hylian (Automatically moved page while merging the account "V" to "Fae")
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V/Sandbox/Theme to User:Fae/Sandbox/Theme (Automatically moved page while merging the account "V" to "Fae")
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V/sig to User:Fae/sig (Automatically moved page while merging the account "V" to "Fae")
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V/sig2 to User:Fae/sig2 (Automatically moved page while merging the account "V" to "Fae")
- 10:07, 3 April 2024 PhantomCaleb talk contribs deleted the user account "V" (48033905)
- 10:07, 3 April 2024 PhantomCaleb talk contribs merged the user account "V" (48033905) into Fae (51933141)
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V to User:Fae (Automatically moved page while merging the account "V" to "Fae")
- 10:07, 3 April 2024 PhantomCaleb talk contribs moved page User:V/Sandbox to User:Fae/Sandbox (Automatically moved page while merging the account "V" to "Fae")
- 23:12, 1 April 2024 PhantomCaleb talk contribs undeleted page Module:Delete (5 revisions)
- 21:31, 5 February 2024 PhantomCaleb talk contribs created page User talk:Ish Siliconera (Copyright issue: new section) Tags: New topic Source
- 09:16, 29 November 2023 PhantomCaleb talk contribs changed the content model of the page File:MM Goht Model.png from "JavaScript" to "wikitext"
- 09:15, 29 November 2023 PhantomCaleb talk contribs changed the content model of the page File:MM Goht Model.png from "wikitext" to "JavaScript" (test)
- 09:07, 29 November 2023 PhantomCaleb talk contribs deleted page File:MM3D Twinmold Model.png
- 09:05, 29 November 2023 PhantomCaleb talk contribs deleted page File:MM3D Goht Model.png
- 09:03, 29 November 2023 PhantomCaleb talk contribs deleted page File:MM Twinmold Model.png
- 09:03, 29 November 2023 PhantomCaleb talk contribs changed the content model of the page File:MM Twinmold Model.png from "CSS" to "wikitext"
- 12:45, 6 November 2023 PhantomCaleb talk contribs moved page Data:Hyrule Compendium to Data:Hyrule Compendium/BotW
- 12:25, 6 November 2023 PhantomCaleb talk contribs created page Module:TermLite/Documentation (Created page with "A performant version of Module:Term which only fetches terms when the page contains parentheses — in this case we need to determine whether the parentheses are actually part of the term or not.")
- 12:24, 6 November 2023 PhantomCaleb talk contribs moved page Module:Term2 to Module:TermLite without leaving a redirect
- 12:24, 6 November 2023 PhantomCaleb talk contribs created page Module:Term2 (Created page with "local p = {} function p.fetchTerm(game, page) if not string.find("foo (bar)", " %([^%)]+%)$") then return page end local utilsCargo = require("Module:UtilsCargo") local queryResults = utilsCargo.query("Terminologies", "term", { where = utilsCargo.allOf( { _pageName = page }, utilsCargo.holdsAll("games", { game }) ) }) return queryResults[1] and queryResults[1].term or page end return p")
- 11:01, 6 November 2023 PhantomCaleb talk contribs deleted page Data:Inventory/Set (content was: "#REDIRECT Data:Armor Set", and the only contributor was "V" (talk))
- 11:01, 6 November 2023 PhantomCaleb talk contribs deleted page Data:Armor Set (Supersded by Data:Armor)
- 11:00, 6 November 2023 PhantomCaleb talk contribs deleted page Template:Inventory/Set/Documentation (content was: "==Purpose== This template displays an {{Term|Series|Inventory|link}} entry from {{BotW}}, {{HWAoC}}, or {{TotK}} based on the page name or a name parameter. The information is taken from a table containing all the {{Term|Series|Armor Set}} information, which is currently on <code>Data:Armor Set, Data:Items/BotW, Data:Items/HWAoC, and Data:Items/TotK</code>. ==Usage== <pre> {{Inventory/Set|Game|Set Name}} </pre> ===Example=== Typing <code><nowiki>{{Inventory/Se...")
- 11:00, 6 November 2023 PhantomCaleb talk contribs deleted page Template:Inventory/Set (Superseded by Template:Descriptions and Template:Armor Set Pieces)
- 15:36, 5 November 2023 PhantomCaleb talk contribs deleted page Template:Description (content was: "<includeonly>{{#vardefine:game|{{#if:{{{game|}}}|{{#switch:{{{game}}} |HWL= {{HW|L}} |HWDE= {{HW|DE}} |LADX= {{LA|DX}} |#default= {{{{{game}}}}}}}|<strong class=error>no game specified</strong>}}}} {{#if: {{{header|}}} | {{{!}} class="wikitable mw-collapsible mw-collapsed" style="max-width: calc(100% - 26em); min-width: 40em;" !colspan="2"{{!}}Description {{!}}- !s...", and the only contributor was "MannedTooth" (talk))
- 14:24, 5 November 2023 PhantomCaleb talk contribs created page Module:Descriptions (Created page with "local p = {} local h = {} local Data = mw.loadData("Module:Descriptions/Data") local Franchise = require("Module:Franchise") local utilsArg = require("Module:UtilsArg") local utilsCargo = require("Module:UtilsCargo") local utilsTable = require("Module:UtilsTable") local CATEGORY_INVALID_ARGS = "Category:"..require("Module:Constants/category/invalidArgs").."" function h.warn(warnMsg, ...) local utilsError = require("Module:UtilsError") utilsError.warn(string.form...")
- 14:12, 5 November 2023 PhantomCaleb talk contribs created page Template:Descriptions/Styles.css (Created page with "Category:Template Styles: ")
- 13:37, 5 November 2023 PhantomCaleb talk contribs created page Module:Descriptions/Data/Documentation (Created page with "{{#invoke:Documentation|Module}}")
- 13:37, 5 November 2023 PhantomCaleb talk contribs created page Module:Descriptions/Data (Created page with "return { descriptionTypes = { ["BotW"] = { { type = "CaC", header = "{{CaC}}", }, }, }, }")
- 12:59, 5 November 2023 PhantomCaleb talk contribs recreated the Cargo table Descriptions
- 12:29, 5 November 2023 PhantomCaleb talk contribs deleted page A Well-Worn Outfit (content was: "#REDIRECT Well-Worn Outfit {{Synonym}}", and the only contributor was "PhantomCaleb" (talk))