Do not touch piped links in template parameters.

This commit is contained in:
Daniel Kraus
2014-08-29 07:57:30 +02:00
parent 2915c6c798
commit 3c930eb90a

View File

@ -117,9 +117,9 @@
if ( $wgLinkTitlesSkipTemplates ) if ( $wgLinkTitlesSkipTemplates )
{ {
$templatesDelimiter = '{{.+?}}|'; $templatesDelimiter = '{{[^}]+}}|';
} else { } else {
$templatesDelimiter = '{{[^|]+?}}|{{.+\||'; $templatesDelimiter = '{{[^|}]+}}|{{[^|]+\||';
}; };
LinkTitles::$currentTitle = $title; LinkTitles::$currentTitle = $title;