Module:Lockbox: Difference between revisions

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