Module:Lockbox: Difference between revisions

Content deleted Content added
transclude files instead of checking existence (should be cheaper and still trigger cascade protection)
fix titles
Line 22:
table.insert(output, '* [[Template:' .. item .. ']]\n')
elseif (ns == "File") or (ns == "Image") then
mw.title.makeTitle('File', item):getContent()
table.insert(output, '* [[:' .. item .. ']]\n')
elseif ns == "Category" then
mw.title.makeTitle('Category', item):getContent()
table.insert(output, '* [[:' .. item .. ']]\n')
else