Content deleted Content added
Updating published sources: General: * Update for the addition of 'rvslots'. DatedCategoryDeleterTest: * Disable. It's clear that task won't be needed. BrokenRedirectDeleter: * Handle pages with newlines before the <code>#REDIRECT</code>. |
Updating published sources: WikiProjectWorker: * Begin run for WikiProject Diptera d/WikiProjectTagging.pm: * When not configured to apply namespace assessments, don't apply redirect assessment either. |
||
Line 32:
### Request link, for edit summary.
my $req="[[User:AnomieBOT/req/WikiProject
### Increment this number every time a new run is started, so we don't have to
### mess around with deleting previous runs' database entries.
my $seq=
### How to find the pages?
my @cats=(
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:
'Category:Diptera by region',
'Category:Diptera families',
'Category:Diptera genera',
'Category:Diptera of Africa',
'Category:Diptera of Asia',
'Category:Diptera of Australasia',
'Category:Diptera of Europe',
'Category:Diptera of New Zealand',
'Category:Diptera of North America',
'Category:Diptera of Scandinavia',
'Category:Diptera of South America',
'Category:Diptera pests and diseases',
'Category:Diptera stubs',
'Category:Diptera subfamilies',
'Category:Diptera superfamilies',
'Category:Diptera taxa',
'Category:Diptera taxa by rank',
'Category:Diptera taxonomy',
'Category:Diptera tribes',
'Category:Diptera used as pest control agents',
'Category:Ditomyiidae',
'Category:Dixidae',
'Category:Dolichopodidae',
'Category:Dolichopodidae genera',
'Category:Dolichopodidae stubs',
'Category:Dolichopodidae subfamilies',
'Category:Dolichopodinae',
'Category:Dolichopus',
'Category:Dorycera',
'Category:Drosophila',
'Category:Drosophila melanogaster',
'Category:Drosophila melanogaster genes',
'Category:Drosophila melanogaster genetics',
'Category:Drosophilidae',
'Category:Drosophilidae genera',
'Category:Drosophilidae stubs',
'Category:Dryomyzidae',
'Category:Empididae',
'Category:Empidoidea',
'Category:Empidoidea genera',
'Category:Empidoidea stubs',
'Category:Empyelocera',
'Category:Enliniinae',
'Category:Ephydridae',
'Category:Ephydroidea',
'Category:Ephydroidea genera',
'Category:Ephydroidea stubs',
'Category:Eristalinae',
'Category:Euleia',
'Category:Eumerini',
'Category:Euxesta',
'Category:Euxesta stubs',
'Category:Exoristinae',
'Category:Exoristinae stubs',
'Category:Fanniidae',
'Category:Ficalbia',
'Category:Flies and humans',
'Category:Fly biology',
'Category:Fly ecology',
'Category:Goniaea',
'Category:Heizmannia',
'Category:Helcomyzidae',
'Category:Heleomyzidae',
'Category:Heleomyzidae stubs',
'Category:Hexachaeta',
'Category:Hippoboscidae',
'Category:Hippoboscoidea',
'Category:Hippoboscoidea genera',
'Category:Hippoboscoidea stubs',
'Category:Hodgesia',
'Category:Homalocephala',
'Category:Hoverflies',
'Category:Hoverfly genera',
'Category:Hybotidae',
'Category:Hydrophorinae',
'Category:Hydrophorus',
'Category:Keroplatidae',
'Category:Laphria',
'Category:Laphriinae',
'Category:Laphystia',
'Category:Lauxaniidae',
'Category:Lauxanioidea',
'Category:Lauxanioidea genera',
'Category:Lauxanioidea stubs',
'Category:Leptoconops',
'Category:Limoniidae',
'Category:Lists of Diptera',
'Category:Lists of Diptera by ___location',
'Category:Lists of Diptera genera',
'Category:Lonchaeidae',
'Category:Lonchaeoidea',
'Category:Lonchopteridae',
'Category:Mansonia',
'Category:Medeterinae',
'Category:Melieria',
'Category:Micropezidae',
'Category:Microphorinae',
'Category:Mimomyia',
'Category:Monogeneric Diptera families',
'Category:Monotypic Brachycera genera',
'Category:Monotypic Diptera genera',
'Category:Monotypic Diptera taxa',
'Category:Mosquito genera',
'Category:Muscidae',
'Category:Muscidae genera',
'Category:Muscidae stubs',
'Category:Muscoidea',
'Category:Muscoidea genera',
'Category:Muscoidea stubs',
'Category:Muscomorpha',
'Category:Muscomorpha genera',
'Category:Muscomorpha stubs',
'Category:Muscomorph flies of Europe',
'Category:Mycetophilidae',
'Category:Mydidae',
'Category:Myennis',
'Category:Myoleja',
'Category:Nematocera',
'Category:Nematocera families',
'Category:Nematocera genera',
'Category:Nematoceran flies of Europe',
'Category:Nematocera stubs',
'Category:Nematocera subfamilies',
'Category:Nematocera taxa',
'Category:Nematocera tribes',
'Category:Nemestrinoidea',
'Category:Nemestrinoidea genera',
'Category:Nemestrinoidea stubs',
'Category:Nerioidea',
'Category:Nerioidea genera',
'Category:Nerioidea stubs',
'Category:Neurigoninae',
'Category:Nycteribiidae',
'Category:Ochlerotatus',
'Category:Odiniidae',
'Category:Oestridae',
'Category:Oestroidea',
'Category:Oestroidea genera',
'Category:Oestroidea stubs',
'Category:Opomyzidae',
'Category:Opomyzoidea',
'Category:Opomyzoidea genera',
'Category:Opomyzoidea stubs',
'Category:Ortalis (fly)',
'Category:Orthopodomyia',
'Category:Oscinellinae',
'Category:Otites',
'Category:Otitinae',
'Category:Pallopteridae',
'Category:Paragorgopis',
'Category:Parasitic flies',
'Category:Parathalassiinae',
'Category:Paravilla',
'Category:Pediciidae',
'Category:Peloropeodinae',
'Category:Perilampsis',
'Category:Periscelididae',
'Category:Phasiinae',
'Category:Phasiinae stubs',
'Category:Phoridae',
'Category:Physiphora',
'Category:Phytalmiinae',
'Category:Phytalmiinae stubs',
'Category:Phytomyza',
'Category:Piophilidae',
'Category:Pipunculidae',
'Category:Plagioneurinae',
'Category:Platypezidae',
'Category:Platypezoidea',
'Category:Platypezoidea genera',
'Category:Platypezoidea stubs',
'Category:Platystomatidae',
'Category:Pollinator flies',
'Category:Prehistoric Diptera',
'Category:Prehistoric Diptera genera',
'Category:Procecidochares',
'Category:Psilidae',
'Category:Psychodidae',
'Category:Psychodomorpha',
'Category:Psychodomorpha genera',
'Category:Psychodomorpha stubs',
'Category:Pterocalla',
'Category:Pterocerina',
'Category:Ptychopteridae',
'Category:Ptychopteromorpha',
'Category:Pyrgotidae',
'Category:Rhagionidae',
'Category:Rhagionoidea',
'Category:Rhagionoidea stubs',
'Category:Rhagoletis',
'Category:Rhagoletis stubs',
'Category:Rhaphiinae',
'Category:Rhinophoridae',
'Category:Sarcophagidae',
'Category:Scathophagidae',
'Category:Scatopsidae',
'Category:Schizophora',
'Category:Schizophora genera',
'Category:Schizophora stubs',
'Category:Sciapodinae',
'Category:Sciaridae',
'Category:Sciaroidea',
'Category:Sciaroidea genera',
'Category:Sciaroidea stubs',
'Category:Sciomyzidae',
'Category:Sciomyzoidea',
'Category:Sciomyzoidea genera',
'Category:Sciomyzoidea stubs',
'Category:Scutelliseta',
'Category:Seioptera',
'Category:Sepsidae',
'Category:Sericomyiini',
'Category:Simuliidae',
'Category:Simulium',
'Category:Sphaeroceridae',
'Category:Sphaeroceroidea',
'Category:Sphaeroceroidea genera',
'Category:Sphaeroceroidea stubs',
'Category:Spheginobacchini',
'Category:Stratiomyidae',
'Category:Stratiomyidae stubs',
'Category:Stratiomyoidea',
'Category:Stratiomyomorpha',
'Category:Stratiomyomorpha genera',
'Category:Stratiomyomorpha stubs',
'Category:Strauzia',
'Category:Sympycninae',
'Category:Syrphidae stubs',
'Category:Syrphinae',
'Category:Syrphini',
'Category:Syrphoidea',
'Category:Syrphoidea genera',
'Category:Syrphoidea stubs',
'Category:Tabanidae',
'Category:Tabanoidea',
'Category:Tabanoidea genera',
'Category:Tabanoidea stubs',
'Category:Tabanomorpha',
'Category:Tabanomorpha genera',
'Category:Tabanomorpha stubs',
'Category:Tachina',
'Category:Tachina stubs',
'Category:Tachinidae',
'Category:Tachinidae genera',
'Category:Tachinidae stubs',
'Category:Tachininae',
'Category:Tachininae stubs',
'Category:Tachiniscinae',
'Category:Tanypodinae',
'Category:Tephritidae',
'Category:Tephritidae genera',
'Category:Tephritidae stubs',
'Category:Tephritinae',
'Category:Tephritinae stubs',
'Category:Tephritoidea',
'Category:Tephritoidea genera',
'Category:Tephritoidea stubs',
'Category:Tetanops',
'Category:Thaumaleidae',
'Category:Therevidae',
'Category:Timia (fly)',
'Category:Tipulidae',
'Category:Tipulidae stubs',
'Category:Tipuloidea',
'Category:Tipuloidea genera',
'Category:Tipuloidea stubs',
'Category:Tipulomorpha',
'Category:Tipulomorpha genera',
'Category:Tipulomorpha stubs',
'Category:Toxorhynchites',
'Category:Tripteroides',
'Category:Trypeta',
'Category:Trypeta stubs',
'Category:Trypetinae',
'Category:Trypetinae stubs',
'Category:Ulidia',
'Category:Ulidiidae',
'Category:Ulidiidae stubs',
'Category:Ulidiinae',
'Category:Uranotaenia',
'Category:Urophora',
'Category:Urophora stubs',
'Category:Vermileonomorpha',
'Category:Xanthochlorinae',
'Category:Xylomyidae',
'Category:Xylophagidae',
'Category:Xylophagomorpha',
'Category:Xylophagomorpha stubs',
);
my @iterators=(
Line 197 ⟶ 485:
}
my $always_copy_importance = 0;
my $set_empty_importance = 0;
sub copy_importance {
#return '';
}
# Banner configurations.
my $main_banner='WikiProject
my @preprocess_templates=();
my %banner_cfgs=(
'WikiProject
meta =>
canonicalize => 'WikiProject
},
);
my @bio_wg = (
);
Line 238 ⟶ 527:
sub approved {
return
}
Line 336 ⟶ 625:
}
my $copy_importance =
if($class eq '' || lc($class) eq lc($assess)){
$class='';
Line 351 ⟶ 640:
next;
}
push @params, "importance=$imp"
}
Line 478 ⟶ 767:
unshift @$params, "$k=$v" unless(grep(s/^(\s*\Q$k\E\s*=\s*?)(?:\S.*?)?(\s*)$/$1$v$2/s, @$params));
$any=1 unless $v eq '';
if($k eq 'class' && exists($cfg{'meta'}
my $aa=$cfg{'stubauto'};
$aa=~s/\s*=.*//;
Line 485 ⟶ 774:
}
}
if($new && $class && (grep /^class=/, @$params) && exists($cfg{'meta'}
my $aa=$cfg{'stubauto'};
$aa=~s/\s*=.*//;
|