Content deleted Content added
Updating published sources: EnDashRedirectCreator: * Don't bother trying to create redirects for editnotices, since the bot account used can't create them anyway. |
Updating published sources: EnDashRedirectCreator: * Apply {{tlu|User:AnomieBOT/Auto-G8}} to created redirects. |
||
Line 221:
}
my $txt = "#REDIRECT [[:$target]]\n{{Redirect shell|{{R from modification|p1={{-r|$origtarget}}}}}}\n{{User:AnomieBOT/Auto-G8|target=$origtarget}}";
my $summary="Redirecting to [[:$origtarget]] because titles with en-dashes are hard to type";
$summary.=" (and resolving the double redirect to [[:$target]])" if $origtarget ne $target;
|