Module:GELimits: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

17 October 2024

  • curprev 00:1200:12, 17 October 2024Alex talk contribs 2,322 bytes +2,322 Created page with "local p = {} local data = mw.loadJsonData('Module:GELimits/data.json') function p.main(frame) local args = frame:getParent().args[1] return data[args] or 0 end function p.table(frame) local sectionString = "#ABCDEFGHIJKLMNOPQRSTUVWXYZ" local bySection = {} for name, _ in pairs(data) do local letter = string.sub(name, 1, 1) if letter ~= '%' then if string.find(sectionString, letter) == nil then letter = "#" end if bySection[letter] == nil then..."