Content deleted Content added
Updating published sources: SourceUploader: * Redirect all shutoff talk pages to the main talk page, they're unwatched otherwise. |
Updating published sources: SourceUploader: * D'oh! Don't follow the redirect when creating those shutoff talk pages. |
||
Line 335:
my $txt=$tpage;
$txt=~s!^(User talk:[^/]+)/.*!#REDIRECT [[$1]]\n\nThis page is unwatched. Please direct comments to [[$1]].!;
$tok=$api->edittoken($tpage, EditRedir=>1, NoExclusion=>1);
if($tok->{'code'} eq 'shutoff'){
$api->warn("Task disabled: ".$tok->{'content'}."\n");
|