mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 17:59:29 +02:00
Fix return value if __NOAUTOLINKS__ is present.
This commit is contained in:
@ -89,7 +89,7 @@
|
|||||||
private static function parseContent( Title &$title, &$text ) {
|
private static function parseContent( Title &$title, &$text ) {
|
||||||
// If the page contains the magic word '__NOAUTOLINKS__', do not parse it.
|
// If the page contains the magic word '__NOAUTOLINKS__', do not parse it.
|
||||||
if ( MagicWord::get('MAG_LINKTITLES_NOAUTOLINKS')->match( $text ) ) {
|
if ( MagicWord::get('MAG_LINKTITLES_NOAUTOLINKS')->match( $text ) ) {
|
||||||
return true;
|
return $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Configuration variables need to be defined here as globals.
|
// Configuration variables need to be defined here as globals.
|
||||||
|
Reference in New Issue
Block a user