Module:Resolve category redirect: Revision history

From Research Realm

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.

28 March 2025

  • curprev 22:0022:00, 28 March 2025 Ringtail Raider talk contribs 2,827 bytes +2,827 Created page with "local p = {} local function cleanup( rtarget ) rtarget = mw.text.trim( rtarget ) rtarget = mw.ustring.gsub( rtarget, '^1%s*=%s*', '' ) rtarget = string.gsub( rtarget, '^[Cc]ategory:', '' ) return rtarget end --Returns the target of {{Category redirect}}, if it exists, else returns the original cat. function p.rtarget( cat, frame ) cat = string.gsub( cat, '^[Cc]ategory:', '' ) --"!" in cat not recognized by mw.title.makeTitle() otherwise if string.match( cat, '[|]..."