Module:Portal and Module:Portal/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
fix tracking logic |
Avoid Lua error when out of expensive parser function calls |
||
Line 255: | Line 255: | ||
table.insert(contents, {image, link}) |
table.insert(contents, {image, link}) |
||
end |
end |
||
if defaultUsed |
if defaultUsed 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) |