6 * This PHP entry point is deprecated. Please use wfLoadExtension() and the extension.json file
7 * instead. See https://www.mediawiki.org/wiki/Manual:Extension_registration for more details.
11 * @copyright 2019 Someone <someone@somenet.org>
15 if ( function_exists( 'wfLoadExtension' ) ) {
16 wfLoadExtension( 'MMNotify' );
17 // Keep i18n globals so mergeMessageFileList.php doesn't break
18 $wgMessagesDirs['MMNotify'] = __DIR__ . '/i18n';
19 $wgExtensionMessagesFiles['MMNotify'] = __DIR__ . '/MMNotify.alias.php';
21 'Deprecated PHP entry point used for the MMNotify extension. ' .
22 'Please use wfLoadExtension instead, ' .
23 'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
27 die( 'This version of the MMNotify extension requires MediaWiki 1.29+' );