Module:InfoboxImage: Difference between revisions

add tracking for Category:Pages using deprecated image syntax as per talk page request
(add extra strip marker test)
(add tracking for Category:Pages using deprecated image syntax as per talk page request)
Line 164:
if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumbnail%s*[|%]]")) then
return image .. "[[Category:Pages using infoboxes with thumbnail images]]";
elseif mw.title.getCurrentTitle().namespace == 0 then
return image .. "[[Category:Pages using deprecated image syntax]]";
else
return image;
Anonymous user