Module:Message box: Difference between revisions
Manually apply "No Globals" -> "strict" change from enWP.
en>Legoktm (Replace Module:No globals with require( "strict" )) |
en>Xover (Manually apply "No Globals" -> "strict" change from enWP.) |
||
| Line 87: | Line 87: | ||
elseif ns == 14 then | elseif ns == 14 then | ||
obj.cfg = cfg.cmbox -- category namespace | obj.cfg = cfg.cmbox -- category namespace | ||
elseif ns == 104 then | |||
obj.cfg = cfg.pmbox -- page namespace | |||
else | else | ||
local nsTable = mw.site.namespaces[ns] | local nsTable = mw.site.namespaces[ns] | ||