Module:InfoboxImage: Difference between revisions

Remove deleted category
m (make tracking category logic clearer, no net effect)
(Remove deleted category)
Line 166:
if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumbnail%s*[|%]]")) then
cat = "[[Category:Pages using infoboxes with thumbnail images]]";
elseif mw.title.getCurrentTitle().namespace == 0 then
cat = "[[Category:Pages using deprecated image syntax]]";
end
return image .. cat;
Anonymous user