Toggle menu
15
236
70
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Resolve category redirect: Revision history

From Kenshi 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.

18 February 2025

  • curprev 01:2401:24, 18 February 2025 Prd 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, '[|]..."