4,595
edits
(Created page with "--[[ -- This module produces a "redirect" hatnote. It looks like this: -- '"X" redirects here. For other uses, see Y.' -- It implements the {{redirect}} template. --]] local mHatnote = require('Module:Hatnote') local mHatList = require('Module:Hatnote list') local mArguments --lazily initialize local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti local p = {} local function getTitle(...)...") |
No edit summary |
||
Line 105: | Line 105: | ||
then | then | ||
-- We are on a mainspace page, and the hatnote starts with something | -- We are on a mainspace page, and the hatnote starts with something | ||
-- like " | -- like "Stiles.casa Wiki:Foo redirects here", so automatically label it as | ||
-- a self-reference. | -- a self-reference. | ||
mhOptions.selfref = true | mhOptions.selfref = true |