Jump to content

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

9 January 2025

  • curprev 02:2302:23, 9 January 2025 Jord talk contribs m 3,295 bytes 0 Protected "Module:Redirect" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
  • curprev 02:2302:23, 9 January 2025 Jord talk contribs 3,295 bytes +3,295 Created page with "-- This module provides functions for getting the target of a redirect page. local p = {} -- Gets a mw.title object, using pcall to avoid generating script errors if we -- are over the expensive function count limit (among other possible causes). local function getTitle(...) local success, titleObj = pcall(mw.title.new, ...) if success then return titleObj else return nil end end -- Gets the name of a page that a redirect leads to, or nil if it isn't a -- redi..."