Module:LangSwitcherTest: Revision history

From Heroes of Might and Magic: Olden Era Official 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.

6 November 2025

30 October 2025

  • curprev 13:1913:19, 30 October 2025 patrik talk contribs 1,411 bytes +1,411 Created page with "local p = {} local function getTitleParts() local title = mw.title.getCurrentTitle() if title.subpageText ~= title.text then local last = title.subpageText local code = last:match("^([A-Za-z%-][A-Za-z%-][A-Za-z%-]*)$") if code then local baseTitle = mw.title.new(title.baseText, title.namespace) return baseTitle.fullText, code:lower(), title end end return title.fullText, nil, title end local functi..."