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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: EnDashRedirectCreator: * Skip creating redirects for File talk when the target File page doesn't actually exist (i.e. local talk page for a file on Commons). No point to it.
AnomieBOT (talk | contribs)
Updating published sources: EnDashRedirectCreator: * Apparently {{tl|Redr}} is being deprecated.
Line 217:
}
 
my $txt = "#REDIRECT [[:$target]]\n{{RedrRedirect shell|{{R from modification|p1={{-r|$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;