Module:Hatnote: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Undid revision 1062166786 by Matthiaspaul (talk); should be fixed now, and if not, please ping me with examples as I couldn't reproduce the original error) |
(Updated from sandbox with namespace filtering for maintenance category) |
||
Line 20: | Line 20: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
local curNs = mw.title.getCurrentTitle().namespace |
|||
p.missingTargetCat = |
p.missingTargetCat = |
||
--Default missing target category, exported for use in related modules |
--Default missing target category, exported for use in related modules |
||
((curNs == 0) or (curNs == 14)) and |
|||
'Articles with hatnote templates targeting a nonexistent page' |
'Articles with hatnote templates targeting a nonexistent page' or nil |
||
local function getArgs(frame) |
local function getArgs(frame) |