User:AnomieBOT/source/tasks/BadImageTagger.pm: Difference between revisions

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: TemplateSubster: * Add halting check
AnomieBOT (talk | contribs)
Updating published sources: d::Redirects: * Redo redirects_to and redirects_to_resolved to use the new prop=redirects. Much faster and more accurate, but let's hope I didn't introduce any bugs.
 
Line 62:
 
# Get template list
my %templates=$api->resolve_redirectsredirects_to_resolved('Template:Restricted use');
%templates=$api->redirects_to(values %templates) unless exists($templates{''});
if(exists($templates{''})){
if($templates{''}{'code'} eq 'shutoff'){