Jump to navigation Jump to search

Module:Loop: Revision history

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.

9 July 2024

  • curprev 23:0623:06, 9 July 2024Tommahs talk contribs 1,288 bytes +1,288 Created page with "local p = {} --p stands for package function p.arguments( frame ) local argumentName = frame.args[1] argumentName = mw.ustring.match(argumentName, "^%s*(.-)%s*$") -- trim spaces local text = frame.args[2] -- collect keys and order them local keys = {} for k in pairs(frame:getParent().args) do local from, to, match = string.find(k, "^"..argumentName.."(%d+)$") if from ~= nil then table.insert(keys, tonumber(match))..."