mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 17:59:29 +02:00
Namspeces 2
This commit is contained in:
@ -184,8 +184,8 @@
|
|||||||
|
|
||||||
// Escape certain special characters in the page title to prevent
|
// Escape certain special characters in the page title to prevent
|
||||||
// regexp compilation errors
|
// regexp compilation errors
|
||||||
LinkTitles::$targetTitleText = LinkTitles::$targetTitle->getText();
|
LinkTitles::$targetTitleText = LinkTitles::$targetTitle->getText(); // inlcudes namespace
|
||||||
$quotedTitle = preg_quote(LinkTitles::$targetTitleText, '/');
|
$quotedTitle = preg_quote( LinkTitles::$targetTitle->getTitleValue()->getText(), '/');
|
||||||
wfDebugLog("LinkTitles",'TargetTitle='. LinkTitles::$targetTitleText,"private");
|
wfDebugLog("LinkTitles",'TargetTitle='. LinkTitles::$targetTitleText,"private");
|
||||||
|
|
||||||
// Depending on the global configuration setting $wgCapitalLinks,
|
// Depending on the global configuration setting $wgCapitalLinks,
|
||||||
|
Reference in New Issue
Block a user