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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: WikiProjectWorker: * Re-start run for WP:WikiProject Film/Marvel Cinematic Universe task force for importance in a handful of categories.
AnomieBOT (talk | contribs)
Updating published sources: WikiProjectTagger, WikiProjectWorker: * Retire these tasks, WikiProject templates have changed a bunch since I last ran these.
 
(3 intermediate revisions by the same user not shown)
Line 1:
{{ombox|type=notice|text= Approved 2009-04-08<br />[[Wikipedia:Bots/Requests for approval/AnomieBOT 28]]}}
{{ombox|type=notice|text= Retired 2024-01-29. Haven't had call to run this in a while, and the related templates have changed so I'd probably have to update this code to run it again.}}
<syntaxhighlight lang="perl">
package tasks::WikiProjectWorker;
Line 10 ⟶ 11:
Task: WikiProjectWorker
BRFA: Wikipedia:Bots/Requests for approval/AnomieBOT 28
Status: ApprovedInactive 20092024-0401-0829
Created: 2009-03-27
OnDemand: true
Line 32 ⟶ 33:
 
### Request link, for edit summary.
my $req="[[User:AnomieBOT/req/WikiProject Film/MarvelHigher Cinematic Universe task forceEducation|request]]";
 
### 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=2728;
 
### How to find the pages?
my %catmap = (
"Category:AgentArticles Carterusing (TVinfobox series) episodesuniversity" => "WikiProject TelevisionHigher education",
"Category:Agents of S.H.I.E.L.D. (season 1) episodes" => "WikiProject Television",
"Category:Agents of S.H.I.E.L.D. (season 2) episodes" => "WikiProject Television",
"Category:Agents of S.H.I.E.L.D. (season 3) episodes" => "WikiProject Television",
"Category:Agents of S.H.I.E.L.D. (season 4) episodes" => "WikiProject Television",
"Category:Agents of S.H.I.E.L.D. (season 5) episodes" => "WikiProject Television",
"Category:Agents of S.H.I.E.L.D. (season 6) episodes" => "WikiProject Television",
"Category:Agents of S.H.I.E.L.D. (season 7) episodes" => "WikiProject Television",
);
my @cats=keys %catmap;
Line 80 ⟶ 74:
 
# Banner configurations.
my $main_banner='WikiProject TelevisionHigher education';
my %banner_cfgs=(
'WikiProject TelevisionHigher education' => {
meta => 01,
canonicalizeimportance => 'WikiProject Television',
canonicalize => 'WikiProject Higher education',
},
);
 
# Extra parameters (e.g. workgroup).
my @extra_params=( 'mcu=yes', 'mcu-importance=low' );
my $taggingwith = @extra_params ? '|' . join( '|', @extra_params ) : '';
 
Line 121 ⟶ 116:
=for info
Approved 2009-04-08<br />[[Wikipedia:Bots/Requests for approval/AnomieBOT 28]]
 
=for info
Retired 2024-01-29. Haven't had call to run this in a while, and the related templates have changed so I'd probably have to update this code to run it again.
 
=cut
 
sub approved {
return -1;
}