Module:Hatnote: Difference between revisions

Updated from sandbox with namespace filtering for maintenance category
(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:
--------------------------------------------------------------------------------
 
local curNs = mw.title.getCurrentTitle().namespace
 
p.missingTargetCat =
--Default missing target category, exported for use in related modules
((curNs == 0) or (curNs == 14)) and
'Articles with hatnote templates targeting a nonexistent page' or nil
 
local function getArgs(frame)
Anonymous user