User contributions for PhantomCaleb
Jump to navigation
Jump to search
6 May 2024
- 19:4519:45, 6 May 2024 diff hist 0 m Breath of the Wild Translations/Items Protected "Breath of the Wild Translations/Items" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
- 19:4419:44, 6 May 2024 diff hist 0 m Breath of the Wild Translations/Items Removed protection from "Breath of the Wild Translations/Items"
- 19:4419:44, 6 May 2024 diff hist 0 m Breath of the Wild Translations/Enemies Removed protection from "Breath of the Wild Translations/Enemies" current
- 19:4319:43, 6 May 2024 diff hist 0 m Breath of the Wild Translations/Characters Removed protection from "Breath of the Wild Translations/Characters" current
- 15:1015:10, 6 May 2024 diff hist 0 m Breath of the Wild Translations/Miscellaneous Changed protection settings for "Breath of the Wild Translations/Miscellaneous" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) current
- 15:0015:00, 6 May 2024 diff hist 0 m Breath of the Wild Translations/Miscellaneous Changed protection settings for "Breath of the Wild Translations/Miscellaneous" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
5 May 2024
- 21:2521:25, 5 May 2024 diff hist +432 N 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" current
- 21:2221:22, 5 May 2024 diff hist +32 N Module:Util/pages/listSubpages/Documentation Created page with "{{#invoke:Documentation|Module}}" current
- 21:2221:22, 5 May 2024 diff hist +327 N 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" current
- 21:2021:20, 5 May 2024 diff hist +685 N 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", }, {..." current
- 21:1821:18, 5 May 2024 diff hist +32 N Module:Util/strings/trim/Documentation Created page with "{{#invoke:Documentation|Module}}" current
- 21:1821:18, 5 May 2024 diff hist +283 N 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" current
- 21:1721:17, 5 May 2024 diff hist −9 Module:Util/strings/split/Documentation/Spec No edit summary current
- 21:1621:16, 5 May 2024 diff hist +90 Module:Documentation/Module No edit summary current
- 21:1521:15, 5 May 2024 diff hist +919 N 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:1421:14, 5 May 2024 diff hist −14 Module:Util/strings/split No edit summary current
- 21:1021:10, 5 May 2024 diff hist +32 N Module:Util/strings/split/Documentation Created page with "{{#invoke:Documentation|Module}}" current
- 21:1021:10, 5 May 2024 diff hist +512 N 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..."
- 21:0821:08, 5 May 2024 diff hist −2 Module:Util/strings/endsWith/Documentation/Spec No edit summary current
- 21:0821:08, 5 May 2024 diff hist +71 Module:Util/strings/endsWith No edit summary current
- 20:5520:55, 5 May 2024 diff hist +503 N 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:5420:54, 5 May 2024 diff hist +32 N Module:Util/strings/endsWith/Documentation Created page with "{{#invoke:Documentation|Module}}" current
- 20:5420:54, 5 May 2024 diff hist +46 N Module:Util/strings/endsWith Created page with "local function endsWith() end return endsWith"
- 17:4017:40, 5 May 2024 diff hist +3 m Module:Util/tables/len No edit summary current
- 17:3917:39, 5 May 2024 diff hist +3 Module:Util/tables/concat/Documentation/Snippets No edit summary current
- 17:3917:39, 5 May 2024 diff hist +6 m Module:Util/tables/concat/Documentation/Snippets No edit summary
- 17:3917:39, 5 May 2024 diff hist +3 m Module:Util/tables/concat No edit summary current
- 17:3817:38, 5 May 2024 diff hist +9 Module:Util/tables/clone/Documentation/Snippets No edit summary current
- 17:3817:38, 5 May 2024 diff hist +4 m Module:Util/pages/dpl No edit summary current
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/size/Documentation/Spec PhantomCaleb moved page Module:Util/tbl/size/Documentation/Spec to Module:Util/tables/size/Documentation/Spec without leaving a redirect current
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/size/Documentation PhantomCaleb moved page Module:Util/tbl/size/Documentation to Module:Util/tables/size/Documentation without leaving a redirect current
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/size PhantomCaleb moved page Module:Util/tbl/size to Module:Util/tables/size without leaving a redirect current
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/len/Documentation/Spec PhantomCaleb moved page Module:Util/tbl/len/Documentation/Spec to Module:Util/tables/len/Documentation/Spec without leaving a redirect current
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/len/Documentation PhantomCaleb moved page Module:Util/tbl/len/Documentation to Module:Util/tables/len/Documentation without leaving a redirect current
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/len PhantomCaleb moved page Module:Util/tbl/len to Module:Util/tables/len without leaving a redirect
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/concat/Documentation/Spec PhantomCaleb moved page Module:Util/tbl/concat/Documentation/Spec to Module:Util/tables/concat/Documentation/Spec without leaving a redirect current
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/concat/Documentation/Snippets PhantomCaleb moved page Module:Util/tbl/concat/Documentation/Snippets to Module:Util/tables/concat/Documentation/Snippets without leaving a redirect
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/concat/Documentation PhantomCaleb moved page Module:Util/tbl/concat/Documentation to Module:Util/tables/concat/Documentation without leaving a redirect current
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/concat PhantomCaleb moved page Module:Util/tbl/concat to Module:Util/tables/concat without leaving a redirect
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/clone/Documentation/Spec PhantomCaleb moved page Module:Util/tbl/clone/Documentation/Spec to Module:Util/tables/clone/Documentation/Spec without leaving a redirect current
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/clone/Documentation/Snippets PhantomCaleb moved page Module:Util/tbl/clone/Documentation/Snippets to Module:Util/tables/clone/Documentation/Snippets without leaving a redirect
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/clone/Documentation PhantomCaleb moved page Module:Util/tbl/clone/Documentation to Module:Util/tables/clone/Documentation without leaving a redirect current
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables/clone PhantomCaleb moved page Module:Util/tbl/clone to Module:Util/tables/clone without leaving a redirect current
- 17:3717:37, 5 May 2024 diff hist 0 m Module:Util/tables PhantomCaleb moved page Module:Util/tbl to Module:Util/tables without leaving a redirect current
- 17:3617:36, 5 May 2024 diff hist 0 m Module:Util/pages/dpl/Documentation/Spec PhantomCaleb moved page Module:Util/page/dpl/Documentation/Spec to Module:Util/pages/dpl/Documentation/Spec without leaving a redirect current
- 17:3617:36, 5 May 2024 diff hist 0 m Module:Util/pages/dpl/Documentation PhantomCaleb moved page Module:Util/page/dpl/Documentation to Module:Util/pages/dpl/Documentation without leaving a redirect current
- 17:3617:36, 5 May 2024 diff hist 0 m Module:Util/pages/dpl PhantomCaleb moved page Module:Util/page/dpl to Module:Util/pages/dpl without leaving a redirect
- 17:3617:36, 5 May 2024 diff hist +24 Module:Util/pages/dpl No edit summary
- 17:2917:29, 5 May 2024 diff hist −2 Module:Util/tables/len No edit summary
- 17:2817:28, 5 May 2024 diff hist −2 Module:Util/tables/concat/Documentation/Snippets No edit summary
- 17:2717:27, 5 May 2024 diff hist +156 Module:Util/pages/dpl No edit summary
- 17:2417:24, 5 May 2024 diff hist +23 Module:Util/pages/dpl No edit summary
- 17:2317:23, 5 May 2024 diff hist +1,052 N Module:Util/pages/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:2217:22, 5 May 2024 diff hist +32 N Module:Util/pages/dpl/Documentation Created page with "{{#invoke:Documentation|Module}}"
- 17:2117:21, 5 May 2024 diff hist +1,093 N Module:Util/pages/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:0617:06, 5 May 2024 diff hist −4 Module:Util/tables/concat/Documentation/Snippets No edit summary
- 17:0617:06, 5 May 2024 diff hist −6 Module:Util/tables/clone/Documentation/Snippets No edit summary
- 17:0617:06, 5 May 2024 diff hist −2 Module:Util/tables/concat No edit summary
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/size/Documentation/Spec PhantomCaleb moved page Module:Util/Table/size/Documentation/Spec to Module:Util/tbl/size/Documentation/Spec without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/size/Documentation PhantomCaleb moved page Module:Util/Table/size/Documentation to Module:Util/tbl/size/Documentation without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/size PhantomCaleb moved page Module:Util/Table/size to Module:Util/tbl/size without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/len/Documentation/Spec PhantomCaleb moved page Module:Util/Table/len/Documentation/Spec to Module:Util/tbl/len/Documentation/Spec without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/len/Documentation PhantomCaleb moved page Module:Util/Table/len/Documentation to Module:Util/tbl/len/Documentation without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/len PhantomCaleb moved page Module:Util/Table/len to Module:Util/tbl/len without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/concat/Documentation/Spec PhantomCaleb moved page Module:Util/Table/concat/Documentation/Spec to Module:Util/tbl/concat/Documentation/Spec without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/concat/Documentation/Snippets PhantomCaleb moved page Module:Util/Table/concat/Documentation/Snippets to Module:Util/tbl/concat/Documentation/Snippets without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/concat/Documentation PhantomCaleb moved page Module:Util/Table/concat/Documentation to Module:Util/tbl/concat/Documentation without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/concat PhantomCaleb moved page Module:Util/Table/concat to Module:Util/tbl/concat without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/clone/Documentation/Spec PhantomCaleb moved page Module:Util/Table/clone/Documentation/Spec to Module:Util/tbl/clone/Documentation/Spec without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/clone/Documentation/Snippets PhantomCaleb moved page Module:Util/Table/clone/Documentation/Snippets to Module:Util/tbl/clone/Documentation/Snippets without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/clone/Documentation PhantomCaleb moved page Module:Util/Table/clone/Documentation to Module:Util/tbl/clone/Documentation without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables/clone PhantomCaleb moved page Module:Util/Table/clone to Module:Util/tbl/clone without leaving a redirect
- 17:0517:05, 5 May 2024 diff hist 0 m Module:Util/tables PhantomCaleb moved page Module:Util/Table to Module:Util/tbl without leaving a redirect
- 16:4816:48, 5 May 2024 diff hist +159 Module:Util/Documentation No edit summary current
- 16:3516:35, 5 May 2024 diff hist 0 N Module:Util/tables Created blank page
- 16:3416:34, 5 May 2024 diff hist +30 Module:Util/Documentation No edit summary
- 16:3416:34, 5 May 2024 diff hist 0 N Module:Util Created blank page current
- 16:3316:33, 5 May 2024 diff hist +776 N 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:5715:57, 5 May 2024 diff hist −4 Module:Util/tables/concat No edit summary
- 15:5415:54, 5 May 2024 diff hist +425 Module:Util/tables/concat No edit summary
- 15:5115:51, 5 May 2024 diff hist +466 N Module:Util/tables/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:5015:50, 5 May 2024 diff hist +61 Module:Util/tables/concat No edit summary
- 15:3715:37, 5 May 2024 diff hist +222 N Module:Util/tables/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:3615:36, 5 May 2024 diff hist +32 N Module:Util/tables/size/Documentation Created page with "{{#invoke:Documentation|Module}}"
- 15:3615:36, 5 May 2024 diff hist +121 N Module:Util/tables/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:3415:34, 5 May 2024 diff hist +308 N Module:Util/tables/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:3315:33, 5 May 2024 diff hist +32 N Module:Util/tables/len/Documentation Created page with "{{#invoke:Documentation|Module}}"
- 15:3315:33, 5 May 2024 diff hist +207 N Module:Util/tables/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:2415:24, 5 May 2024 diff hist +48 Module:Util/tables/concat No edit summary
- 15:2215:22, 5 May 2024 diff hist 0 Module:Util/tables/concat/Documentation/Snippets No edit summary
- 15:2215:22, 5 May 2024 diff hist +181 N Module:Util/tables/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:2115:21, 5 May 2024 diff hist +32 N Module:Util/tables/concat/Documentation Created page with "{{#invoke:Documentation|Module}}"
- 15:2015:20, 5 May 2024 diff hist +363 N Module:Util/tables/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"
- 15:0515:05, 5 May 2024 diff hist +578 Module:Documentation/Module new util documentation
- 15:0415:04, 5 May 2024 diff hist +77 Module:Util/tables/clone/Documentation/Snippets No edit summary
- 14:5914:59, 5 May 2024 diff hist +193 N Module:Util/tables/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:5814:58, 5 May 2024 diff hist 0 m Module:Util/tables/clone/Documentation/Spec PhantomCaleb moved page Module:Util/Table/clone/Spec to Module:Util/Table/clone/Documentation/Spec without leaving a redirect
- 14:4314:43, 5 May 2024 diff hist 0 m Module:Util/tables/clone/Documentation/Spec PhantomCaleb moved page Module:Utils/Table/clone/Spec to Module:Util/Table/clone/Spec without leaving a redirect
- 14:4314:43, 5 May 2024 diff hist 0 m Module:Util/tables/clone/Documentation PhantomCaleb moved page Module:Utils/Table/clone/Documentation to Module:Util/Table/clone/Documentation without leaving a redirect
- 14:4314:43, 5 May 2024 diff hist 0 m Module:Util/tables/clone PhantomCaleb moved page Module:Utils/Table/clone to Module:Util/Table/clone without leaving a redirect