mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 09:49:31 +02:00
Fix invalid callback error due to non-static declaration of LinkTitles::removeMagicWord.
This commit is contained in:
@ -202,7 +202,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function removeMagicWord( &$parser, &$text ) {
|
static function removeMagicWord( &$parser, &$text ) {
|
||||||
$mw = MagicWord::get('MAG_LINKTITLES_NOAUTOLINKS');
|
$mw = MagicWord::get('MAG_LINKTITLES_NOAUTOLINKS');
|
||||||
$mw -> matchAndRemove( $text );
|
$mw -> matchAndRemove( $text );
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user