mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 09:49:31 +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 ) {
|
||||
// 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.
|
||||
|
Reference in New Issue
Block a user