Module:ProcessArgs: 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 June 2024

  • curprev 00:2000:20, 10 June 2024Xtex talk contribs 584 bytes +584 Created page with "local p = {} function p.norm( args ) local result = {} for k, v in pairs ( args ) do v = mw.text.trim( tostring( v ) ) if v ~= '' then result[k] = v end end return result end function p.merge( layers, norm ) if layers == nil then local f = mw.getCurrentFrame() layers = { f.args, f:getParent().args } end if norm == nil then norm = true end local result = {} for i, layer in ipairs (layers) do for k, v in pairs (layer) do v = mw.text.trim( to..."