Fix return value if __NOAUTOLINKS__ is present.

This commit is contained in:
Daniel Kraus
2014-06-11 17:10:02 +02:00
parent 44e3ef2a0d
commit b722774f68

View File

@ -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.