13,398
edits
m (1 revision imported) |
No edit summary |
||
Line 166: | 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 | 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]]"; | cat = "[[Category:Pages using infoboxes with thumbnail images]]"; | ||
elseif mw.title.getCurrentTitle().namespace == 0 then | |||
cat = "[[Category:Pages using deprecated image syntax]]"; | |||
end | end | ||
return image .. cat; | return image .. cat; | ||
Line 256: | Line 258: | ||
if thumbtime ~= "" then | if thumbtime ~= "" then | ||
result = result .. "|thumbtime=" .. thumbtime; | result = result .. "|thumbtime=" .. thumbtime; | ||
end | end | ||
if title ~= "" and title ~= nil then | if title ~= "" and title ~= nil then |
edits