Module:Parser: Revision history

From 20R1

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.

17 November 2025

16 November 2025

  • curprev 23:3423:34, 16 November 2025 Alex talk contribs 873 bytes +873 Created page with "local p = {} -- Trim whitespace from a string local function trim(s) return s:match("^%s*(.-)%s*$") end -- Main entry point called from the template function p.parse(frame) local args = frame.args local prop = args.property or "" local list = args.list or "" -- Split by comma (allowing optional spaces around commas) local items = {} for item in list:gmatch("[^,]+") do local cleaned = trim(item) if cleaned ~= "" then..."