Remove superfluous variable; comment code.

This commit is contained in:
Daniel Kraus
2014-06-03 18:28:25 +02:00
parent 5bdb6cc773
commit ffb8daa1ad
2 changed files with 7 additions and 2 deletions

View File

@ -28,9 +28,10 @@
error_log(print_r($var, TRUE) . "\n", 3, 'php://stderr');
};
/// Main function of the extensions. Sets up parser hooks and performs the
/// actual parsing.
/// TODO: Use the current PageContentSave hook rather than the deprecated ArticleSave hook.
class LinkTitles {
static $targetTitleText;
/// Setup function, hooks the extension's functions to MediaWiki events.
public static function setup() {
global $wgLinkTitlesParseOnEdit;