Modul:Hatnote: Unterschied zwischen den Versionen

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)
Zeile 20: Zeile 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
'Articles with hatnote templates targeting a nonexistent page'
((curNs ==  0) or (curNs == 14)) and
'Articles with hatnote templates targeting a nonexistent page' or nil


local function getArgs(frame)
local function getArgs(frame)
Anonymer Benutzer