Module:Accordion: Revision history

Jump to navigation Jump to search

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

10 December 2023

  • curprev 14:3214:32, 10 December 2023Admin talk contribs 1,378 bytes +1,378 Created page with "local p = {} local function trim(s) return mw.ustring.gsub(mw.ustring.gsub(s, '%s', ' '), '^%s*(.-)%s*$', '%1') end local function tablelength(T) local count = 0 for _ in pairs(T) do count = count + 1 end return count end function p.fn(frame) local origArgs = (type(frame.getParent) == 'function') and frame:getParent().args or frame local args = {} for k, v in pairs(origArgs) do if v ~= '' then args[k] = v mw.log(v) end end local..."