Jump to content

Seenaa foyyeeffata "Module:Wikitext Parsing"

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (ammee) = difference with latest revision, (Xumura) = difference with preceding revision, b = minor edit.

15 Caamsaa 2025

  • ammeeXumura 23:5823:58, 15 Caamsaa 2025 2601:18e:d104:4ab0:5955:a305:f9b5:3751 dubbadhu baayti 17,882 +17,882 Fuula Harra: 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 surprisingly expe...