Module:Main: Difference between revisions

fix punctuation in category/talk space
m (1 revision imported)
(fix punctuation in category/talk space)
Line 4:
--
-- If the module is used in category or category talk space, it produces "The
-- main article for this category is xxx"." Otherwise, it produces
-- "Main article: xxx".
--]]
Line 54:
if (curNs == 14) or (curNs == 15) then --category/talk namespaces
mainForm = isPlural and
'The main %ss for this [[Help:Categories|category]] are %s.'
or
'The main %s for this [[Help:Categories|category]] is %s.'
else
mainForm = isPlural and 'Main %ss: %s' or 'Main %s: %s'
Anonymous user