Module:ProcessArgs: Revision history

From Eco - English Wiki

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.

22 May 2023

  • curprev 11:4911:49, 22 May 2023LetterN talk contribs 844 bytes +844 Created page with "local p = {} function p.norm( origArgs, lowercase ) if type( origArgs ) ~= 'table' then origArgs = mw.getCurrentFrame():getParent().args end local args = {} for k, v in pairs( origArgs ) do if lowercase and type(k) == "string" then k = k:lower() end v = mw.text.trim( tostring( v ) ) if v ~= '' then args[k] = v end end return args end function p.merge( origArgs, parentArgs, norm ) if type( origArgs ) ~= 'table' then norm = origArgs local f = m..." [checked by Dennis]