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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: SourceUploader: * Sort directory pages by last modified date. * Use <nowiki><syntaxhighlight></nowiki> instead of <nowiki><source></nowiki>. d::NoWiki: * Add support for <nowiki><syntaxhighlight></nowiki>. General: * Vario
AnomieBOT (talk | contribs)
Updating published sources: ReplaceExternalLinks2: * Screen-scrape archive.org and pull the archive closest to the access date. * Query webcitation.org too. * Try to find access dates in non-templated <ref> tags. * Remove {{tl|dead link}} adjac
Line 95:
my @s=map $_->{'anchor'}, @{$res->{'parse'}{'sections'}};
my $anchorenc=shift @s; $anchorenc=~s/^XXX_//; # Pull out the dummy
$anchorenc=~s/^XXX_//;
next if grep($_ eq $anchorenc, @s);