Module:munge text: Revision history

Jump to navigation Jump to search

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.

21 June 2026

  • curprev 11:1311:13, 21 June 2026 Sware talk contribs 930 bytes +930 Created page with "return function(text, fn) local has_html = text:find("<") local has_two_part_link = text:find("%[%[.*|") if not has_html and not has_two_part_link then return fn(text) end local function do_munge(text, pattern, functor) local index = 1 local length = mw.ustring.len(text) local result = "" pattern = "(.-)(" .. pattern .. ")" while index <= length do local first, last, before, match = mw.ustring.find(text, pattern, index) if not first then resul..."