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

7 February 2023

  • curprev 23:4323:43, 7 February 2023Jācōbus talk contribs 7,847 bytes +7,847 Created page with "local export = {} local data = mw.loadData("Module:utilities/data") local notneeded = data.notneeded local neededhassubpage = data.neededhassubpage -- A helper function to escape magic characters in a string -- Magic characters: ^$()%.[]*+-? function export.pattern_escape(text) if type(text) == "table" then text = text.args[1] end text = mw.ustring.gsub(text, "([%^$()%%.%[%]*+%-?])", "%%%1") return text end function export.plain_gsub(text, pattern, replacement)..."