Module:pages: Difference between revisions
m 1 revision imported |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 246: | Line 246: | ||
end | end | ||
local ns = title.namespace | local ns = title.namespace | ||
-- | -- Contionary namespace. | ||
if ns == | if ns == 120 then | ||
return "entry" | return "entry" | ||
-- Template: | -- Template: | ||
elseif ns == 10 then | elseif ns == 10 then | ||
| Line 286: | Line 283: | ||
local ns = title.namespace | local ns = title.namespace | ||
-- (main), Appendix, Thesaurus, Citations, Reconstruction. | -- (main), Appendix, Thesaurus, Citations, Reconstruction. | ||
return (ns == 0 or ns == | return (ns == 0 or ns == 120) and | ||
title.contentModel == "wikitext" | title.contentModel == "wikitext" | ||
end | end | ||