Module:MathModDBHelperMethods: Revision history

From MaRDI portal

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.

25 July 2025

  • curprev 09:5609:56, 25 July 2025 TA4Shehu talk contribs 508 bytes +508 Created page with "-- MediaWiki library for logging and utilities local mw = require('mw') local json = require("mw.text") -- Main table to hold all functions local p = {} -- Function to replace pattern in the comma pattern separated list function p.replace_pattern(frame) local input = frame.args[1] or "" local sep = frame.args[2] or " " -- default to space if no separator given -- Replace comma+pattern (,xxxx) with sep local result = string.gsub(input, ",xxxx%s*", sep..."