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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: TemplateUnsubstifier: * Handle templates with an unclosed {{tag|noinclude|o}} at the end.
AnomieBOT (talk | contribs)
Updating published sources: TemplateUnsubster: * Don't add deprecated $N parameter.
Line 165:
my $trail = $2;
my ($txt, $params) = $self->upgrade_unsubst( $api, $title, $1 );
$outtxt = "{{ {{{|safesubst:}}}#invoke:Unsubst||\$N=$name $params |\$B=\n$txt\n}}$trail" if defined( $txt );
} else {
$api->warn( "HELP: $title doesn't match the basic regular expression, refusing to edit\n" );