New answers tagged

0

If you want to be able to sort a simple list server-side, install Scribunto, create Module:Utils containing return { sort = function (frame) local trim = mw.text.trim -- Since frame.args is not a real table, it has to be copied: local args = {} for _, arg in ipairs (frame.args) do args [#args + 1] = trim (arg) ...


Top 50 recent answers are included