mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 09:49:31 +02:00
Do not touch piped links in template parameters.
This commit is contained in:
@ -117,9 +117,9 @@
|
|||||||
|
|
||||||
if ( $wgLinkTitlesSkipTemplates )
|
if ( $wgLinkTitlesSkipTemplates )
|
||||||
{
|
{
|
||||||
$templatesDelimiter = '{{.+?}}|';
|
$templatesDelimiter = '{{[^}]+}}|';
|
||||||
} else {
|
} else {
|
||||||
$templatesDelimiter = '{{[^|]+?}}|{{.+\||';
|
$templatesDelimiter = '{{[^|}]+}}|{{[^|]+\||';
|
||||||
};
|
};
|
||||||
|
|
||||||
LinkTitles::$currentTitle = $title;
|
LinkTitles::$currentTitle = $title;
|
||||||
|
Reference in New Issue
Block a user