Do not re-link links inside curly braces.

This commit is contained in:
Daniel Kraus
2014-08-29 14:16:46 +02:00
parent cfeafc7751
commit 0ced2cff44

View File

@ -119,7 +119,7 @@
{ {
$templatesDelimiter = '{{[^}]+}}|'; $templatesDelimiter = '{{[^}]+}}|';
} else { } else {
$templatesDelimiter = '{{[^|}]+}}|{{[^|]+\||'; $templatesDelimiter = '{{[^|]*?(?:(?:\[\[[^]]+]])?)[^|]*?(?:\||(?:}}))|';
}; };
LinkTitles::$currentTitle = $title; LinkTitles::$currentTitle = $title;