Content deleted Content added
Updating published sources: AccidentalLangLinkFixer: * New task. |
Updating published sources: AccidentalLangLinkFixer: * Trial, 15 edits. |
||
Line 1:
{{ombox|type=notice|text=
<syntaxhighlight lang="perl">
package tasks::AccidentalLangLinkFixer;
Line 10:
Task: AccidentalLangLinkFixer
BRFA: Wikipedia:Bots/Requests for approval/AnomieBOT 43
Status:
Created: 2010-09-11
Line 46:
=for info
=cut
sub approved {
return
}
Line 58:
my $res;
$api->task('AccidentalLangLinkFixer', 0, 10, qw/d::IWNS d::Nowiki d::Trial/);
$api->store->{'trial edit count'}=0 unless exists($api->store->{'trial edit count'});
return $api->trial_complete('AnomieBOT 43') if $api->store->{'trial edit count'}>=15;
my $help='User:'.$api->user.'/docs/AccidentalLangLinkFixer';
Line 130 ⟶ 133:
next;
}
return $api->trial_complete('AnomieBOT 43') if ++$api->store->{'trial edit count'}>=15;
} else {
$api->log("Updating saved category and language links for $page");
|