Module:LinkWrap: Revision history

From Trans People Together Wiki

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.

8 May 2025

  • curprev 18:3418:34, 8 May 2025 Admin talk contribs 918 bytes +918 Created page with "-- Module:LinkWrap local p = {} -- wrap: -- • If the input is blank: return empty string. -- • If there are no semicolons: trim and return "". -- • If there are semicolons: split on ";", trim each segment, -- wrap each in "" and join with ", ". function p.wrap(frame) local input = frame.args[1] or '' -- blank? if input == '' then return '' end -- helper to trim whitespace local function trim(s) return mw..."