Legoktm has uploaded a new change for review. https://gerrit.wikimedia.org/r/187445
Change subject: Remove $wgContentHandlerUseDB = false compatability extension function ...................................................................... Remove $wgContentHandlerUseDB = false compatability extension function Change-Id: I2dbc5c923b3bbfa354adf5f4852f64c5522b667d --- M MassMessage.hooks.php M MassMessage.php 2 files changed, 0 insertions(+), 12 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MassMessage refs/changes/45/187445/1 diff --git a/MassMessage.hooks.php b/MassMessage.hooks.php index 4f0d7e8..e54c16a 100644 --- a/MassMessage.hooks.php +++ b/MassMessage.hooks.php @@ -6,17 +6,6 @@ class MassMessageHooks { - public static function onExtensionFunctions() { - global $wgContentHandlerUseDB, $wgSpecialPages, $wgAPIModules; - - if ( !$wgContentHandlerUseDB ) { - // Disable things :( - unset( $wgSpecialPages['CreateMassMessageList'] ); - unset( $wgSpecialPages['EditMassMessageList'] ); - $wgAPIModules['editmassmessagelist'] = 'ApiDisabled'; - } - } - /** * Hook to load our parser function * @param Parser $parser diff --git a/MassMessage.php b/MassMessage.php index bcefbee..64a50b0 100644 --- a/MassMessage.php +++ b/MassMessage.php @@ -100,7 +100,6 @@ $wgJobClasses['MassMessageServerSideJob'] = 'MassMessageServerSideJob'; // Hooks -$wgExtensionFunctions[] = 'MassMessageHooks::onExtensionFunctions'; $wgHooks['ParserFirstCallInit'][] = 'MassMessageHooks::onParserFirstCallInit'; $wgHooks['SpecialStatsAddExtra'][] = 'MassMessageHooks::onSpecialStatsAddExtra'; $wgHooks['APIQuerySiteInfoStatisticsInfo'][] = 'MassMessageHooks::onAPIQuerySiteInfoStatisticsInfo'; -- To view, visit https://gerrit.wikimedia.org/r/187445 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2dbc5c923b3bbfa354adf5f4852f64c5522b667d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MassMessage Gerrit-Branch: master Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits