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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: DeletionSortingCleaner: * Supplemental BRFA to remove duplicate entries in deletion sorting pages.
AnomieBOT (talk | contribs)
Updating published sources: DeletionSortingCleaner: * And approved! I wonder if that's a record outside of cases where a BAGger was specifically coordinating.
Line 1:
{{ombox|type=notice|text= Approved 2010-07-06<br />[[Wikipedia:Bots/Requests for approval/AnomieBOT 40]]}}
{{ombox|type=notice|text= Supplemental BFRA approval requestedapproved 2020-06-06<br />[[Wikipedia:Bots/Requests for approval/AnomieBOT 79]]}}
<syntaxhighlight lang="perl">
package tasks::DeletionSortingCleaner;
Line 13:
Status: Approved 2010-07-06
+BRFA: Wikipedia:Bots/Requests for approval/AnomieBOT 79
+Status: BRFAApproved 2020-06-06
Created: 2010-06-18
 
Perform certain tasks for [[WP:WikiProject Deletion sorting]]:
* Subst various AfD templates that should be substed
* Archive discussions for closed AfDsXfDs
* Remove duplicate XfD listings
 
If necessary, the bot may be kept off a deletion sorting subpage by adding
Line 36 ⟶ 37:
use vars qw/@ISA/;
@ISA=qw/AnomieBOT::Task/;
 
my $brfa79=0;
 
sub new {
Line 54 ⟶ 53:
 
=for info
Supplemental BFRA approval requestedapproved 2020-06-06<br />[[Wikipedia:Bots/Requests for approval/AnomieBOT 79]]
 
=cut
Line 139 ⟶ 138:
my $name2=$1;
 
if($brfa79 && exists($dups{$name})){
$dups=1;
return '';