From b722774f687061bc147ba4b9e0c4cfbbb51ddaaf Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Wed, 11 Jun 2014 17:10:02 +0200 Subject: [PATCH] Fix return value if __NOAUTOLINKS__ is present. --- LinkTitles.body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LinkTitles.body.php b/LinkTitles.body.php index b9b0d56..02a6a4b 100755 --- a/LinkTitles.body.php +++ b/LinkTitles.body.php @@ -89,7 +89,7 @@ private static function parseContent( Title &$title, &$text ) { // If the page contains the magic word '__NOAUTOLINKS__', do not parse it. if ( MagicWord::get('MAG_LINKTITLES_NOAUTOLINKS')->match( $text ) ) { - return true; + return $text; } // Configuration variables need to be defined here as globals.