Content deleted Content added
Updating published sources: EnDashRedirectCreator: * Update old redirects when the existing templates are now invalid due to a move of the redirect. ` |
Updating published sources: EnDashRedirectCreator: * Add explicit {{para|1}} to {{tl|-r}} to avoid breaking on titles containing <code>=</code>. |
||
Line 302:
my $tosection = defined( $fragment ) ? "\n{{R to section}}" : '';
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|1=$origtarget}}}}$double$tosection\n}}\n{{User:AnomieBOT/Auto-G8|target=$origtarget}}";
my $summary;
if ( exists( $tok->{'missing'} ) ) {
|