Content deleted Content added
Updating published sources: EnDashRedirectCreator: * Supplemental BRFA approved! |
Updating published sources: EnDashRedirectCreator: * Improve formatting of the created redirect. |
||
Line 294:
$target .= '#' . $fragment if defined( $fragment );
my $tosection = defined( $fragment ) ?
my $double = $origtarget eq $target ? '' : "\n{{R avoided double redirect|1=$origtarget}}";
my $txt = "#REDIRECT [[:$target]]\n\n{{Redirect category shell|\n{{R from modification|1={{-r|$origtarget}}}}$double$tosection\n}}\n{{User:AnomieBOT/Auto-G8|target=$origtarget}}";
my $summary;
if ( exists( $tok->{'missing'} ) ) {
|