Module:Portal: Difference between revisions

Content deleted Content added
add puzzle piece tracking
Add tracking category Category:Usage of portal image for non-existent portal
Line 283:
-- If nostrip is yes (or equivalent), then allow all metadata (like image borders) to be returned
local strip = not yesno(nostrip)
returnlocal result = strip and name:match('^(.-)|') or name -- FIXME: use a more elegant way to separate borders etc. from the image name
-- Temporary tracking category to clear out deleted portals
local portalTitle = mw.title.new(portal,"Portal")
if not portalTitle.exists then
result = result .. "|category=[[Category:Usage of portal image for non-existent portal]]"
end
return result
end
 
 
local function getAllImageTables()