Content deleted Content added
Updating published sources: TemplateUnsubstifier: * Add sanity check to prevent broken edits like [//en.wikipedia.org/w/index.php?diff=prev&oldid=582081088 this] * Another log message. |
Updating published sources: TemplateUnsubstifier: * Handle templates with an unclosed {{tag|noinclude|o}} at the end. |
||
Line 162:
# Split into template and noinclude parts, then process
if ( $intxt =~ /^\s*+(.+?)((?><noinclude>(?>[^<]+|<(?!\/?noinclude))*(?:<\/noinclude>|$))*)\s*$/s ) {
my $trail = $2;
my ($txt, $params) = $self->upgrade_unsubst( $api, $title, $1 );
|