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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: WikiProjectTagger: * Update config for new run for WP:SPIRITS. AFDMergeFromCleaner: * This time for sure! (nextrun was still b0rken)
AnomieBOT (talk | contribs)
Updating published sources: IFDCloser: * s/Image_name.ext/File_name.ext/ to match documentation change.
Line 221:
foreach my $s (split(/(?=(?:^|\n)==)/, $intxt)){
if($s=~/^==\s*Redirected\s*==/){
$s=~s/\|}.*$//s;
foreach (split /\n\|-\n/, $s){
next unless /^\Q| {{$linktmpl|\E([^]]+)\Q}} || {{$linktmpl|\E([^]]+)\Q}} || {{$linktmpl|\E([^]]+)\Q}} ||/;
Line 228:
}
} elsif($s=~/^==\s*Deleted\s*==/){
$s=~s/\|}.*$//s;
foreach (split /\n\|-\n/, $s){
next unless /^\Q| {{$linktmpl|\E([^]]+)\Q}} || {{$linktmpl|\E([^]]+)\Q}} ||/;