r94014 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94013‎ | r94014 | r94015 >
Date:08:39, 6 August 2011
Author:catrope
Status:deferred
Tags:
Comment:
RL2: Comment out hooks that are still broken so Gadgets doesn't fatally break MW installs
Modified paths:
  • /branches/RL2/extensions/Gadgets/Gadgets.php (modified) (history)

Diff [purge]

Index: branches/RL2/extensions/Gadgets/Gadgets.php
@@ -78,13 +78,13 @@
7979 ) );
8080
8181 $wgHooks['ArticleSaveComplete'][] = 'GadgetHooks::articleSaveComplete';
82 -$wgHooks['BeforePageDisplay'][] = 'GadgetHooks::beforePageDisplay';
 82+//$wgHooks['BeforePageDisplay'][] = 'GadgetHooks::beforePageDisplay'; // FIXME: broken
8383 $wgHooks['CanonicalNamespaces'][] = 'GadgetHooks::canonicalNamespaces';
8484 $wgHooks['GetPreferences'][] = 'GadgetHooks::getPreferences';
8585 $wgHooks['LoadExtensionSchemaUpdates'][] = 'GadgetHooks::loadExtensionSchemaUpdates';
8686 $wgHooks['ResourceLoaderRegisterModules'][] = 'GadgetHooks::registerModules';
8787 $wgHooks['TitleIsCssOrJsPage'][] = 'GadgetHooks::titleIsCssOrJsPage';
88 -$wgHooks['UnitTestsList'][] = 'GadgetHooks::unitTestsList';
 88+//$wgHooks['UnitTestsList'][] = 'GadgetHooks::unitTestsList'; // FIXME: broken
8989
9090 $dir = dirname(__FILE__) . '/';
9191 $wgExtensionMessagesFiles['Gadgets'] = $dir . 'Gadgets.i18n.php';

Status & tagging log