Jump to content

Module:Cats: 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.

27 November 2025

  • curprev 16:2716:27, 27 November 2025 Admin talk contribs 1,472 bytes +1,472 Created page with "local p = {} -- Utility to add a value to a table if not empty local function addIfValid(tbl, val) if val and val ~= "" then table.insert(tbl, val) end end -- Parse a "*"-style hierarchy string into a flat list of all nodes local function parseTaxonomyFlat(taxonomy) local flat = {} for stars, label in taxonomy:gmatch("(%*+)([^%*]+)") do label = mw.text.trim(label) addIfValid(flat, label) end return flat end -- Main funct..."