Module:Portal bar/sandbox: Difference between revisions

Content deleted Content added
cleanup code for existence check + tracking
check to see if title was created
Line 77:
for _, portal in ipairs(portals) do
local portalTitle = mw.title.new(portal,"Portal")
if portalTitle and portalTitle.exists then
table.insert(existingPortals,portal)
elseif trackingEnabled then