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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: AutoAssessor2 & WikiProjectTagger: * Ability to configure the name of the "auto=yes" parameter for stubs. WikiProjectTagger: * Add support for "marking" categories, to make param adding easier. * Adjust config for upco
AnomieBOT (talk | contribs)
Updating published sources: General: * BREAKING CHANGE: Due to the upcoming API breaking change, the functionality of $api->query() has changed to automatically continue over most property requests. $task->fullquery() is now redundant and has been re
Line 107:
while(my ($t,$c)=each %cfg_templates){
$c->{'names'}=[ "Template:$t" ];
$res=$selfapi->fullqueryquery($api, undef[],
list => 'backlinks',
bltitle => "Template:$t",
Line 167:
while(@pageids){
$q2{'pageids'}=join('|', splice(@pageids, 0, 500));
$res=$selfapi->fullqueryquery($api, undef, %q2);
foreach my $page (values %{$res->{'query'}{'pages'}}){
my $pageid=$page->{'pageid'};