Module:Redirect: Difference between revisions
From Test Wiki
m
1 revision imported
Kazrok4545 (talk | contribs) (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 local function case_insensitive_pattern(pattern) -- find an optional '%' (group...") |
m (1 revision imported) Tags: Mobile edit Mobile web edit |
||
(No difference)
|