Module:SiteList: Difference between revisions

9 bytes removed ,  21 July 2023
no edit summary
No edit summary
No edit summary
local ns = mw.title.getCurrentTitle().namespace
if ns == 0 then
table.insert(result, = result .. '[[Category:Articles in the mainspace using Template:SiteList]]')
elseif ns == 2 then
table.insert(result, = result .. '[[Category:Articles in the userspace using Template:SiteList]]')
elseif ns == 118 then
table.insert(result, = result .. '[[Category:Drafts using Template:SiteList]]')
end