Jump to content

Editing disabled for anonymous users

Revision as of 08:56, 20 March 2025 by Shia.k (talk | contribs) (Created page with "require("strict") --Helper functions local function startswith(text, subtext) return string.sub(text, 1, #subtext) == subtext end local function endswith(text, subtext) return string.sub(text, -#subtext, -1) == subtext end local function allcases(s) return s:gsub("%a", function(c) return "["..c:upper()..c:lower().."]" end) end local trimcache = {} local whitespace = {[" "]=1, ["\n"]=1, ["\t"]=1, ["\r"]=1} local function cheaptrim(str) --mw.text.trim is surprising...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Anonymous editing is currently disabled. Please log in to edit pages.

Return to Module:Wikitext Parsing.