Module:Portal: Difference between revisions

fix tracking logic
(username removed)
m (1 revision imported)
WordPress>Hike395
(fix tracking logic)
Line 255: Line 255:
table.insert(contents, {image, link})
table.insert(contents, {image, link})
end
end
if defaultUsed and checkTracking() then
if defaultUsed and args.tracking and checkTracking() then
local cat = string.format('[[Category:Portal templates with default image|%s]]',
local cat = string.format('[[Category:Portal templates with default image|%s]]',
                      defaultUsed)
                      defaultUsed)
Anonymous user