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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: TFDTemplateSubster: * Approved! And really quickly too.
AnomieBOT (talk | contribs)
Updating published sources: d/Redirects.pm: * <code>redirects_to()</code> should still normalize input. TFDTemplateSubster: * Handle normalization from the above change.
Line 141:
$api->warn( "Failed to get redirects: " . $r{''}{'error'} . "\n" );
return 60;
}
 
# Handle normalizations, e.g. underscore to space.
while ( my ( $r, $t ) = each( %r ) ) {
if ( defined( $workList{$r} ) && !defined( $workList{$t} ) ) {
$workList{$t} = $workList{$r};
delete $workList{$r};
}
}