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: TFATitleSubpageCreator: * Read the page from {{tl|TFAFULL}} instead of trying to find the right link in the wikitext. |
||
Line 48:
my $res;
$api->task('TFATitleSubpageCreator', 0, 10, qw/d::Talk d::Templates/);
my $broken = 0;
Line 79:
my $template="Template:TFA title/$date";
for my $p ( $api->process_paramlist( @$params ) ) {
$link = $p->{'value'} if $p->{'name'} eq '1';
}
} );
if ( ! defined( $link ) ) {
$api->warn("No TFAFULL template in $title?\n");
warn $_->{'revisions'}[0]{'slots'}{'main'}{'*'};
next;
}
▲ my $link=$1;
# Ask MediaWiki to canonicalize the title for us, because the actual
|