"Module:InfoboxImage" के अवतरणों में अंतर

49 बैट्स् जोड़े गए ,  4 वर्ष पहले
add drafts with thumbnails to tracking category
(add tracking for Category:Pages using deprecated image syntax as per talk page request)
(add drafts with thumbnails to tracking category)
if mw.ustring.sub(image,1,2) == "[[" then
-- search for thumbnail images and add to tracking cat if found
if (mw.title.getCurrentTitle().namespace == 0 or mw.title.getCurrentTitle().namespace == 118) 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