Module:Infobox: Difference between revisions

m
only add categories in mainspace
(Undo revision 38272 by Artoire (talk))
Tag: Undo
m (only add categories in mainspace)
Line 578:
-- Create categories
local category_text = ''
if mw.title.getCurrentTitle():inNamespace(0) then
for key, _ in pairs(self.categories) do
category_text = category_text..'[[Category:'..key..']]'
end
end
local dump = ''
2,100

edits