Merge "Start showing warning for deprecated PHP entry point"

This commit is contained in:
jenkins-bot 2018-10-29 23:48:58 +00:00 committed by Gerrit Code Review
commit f0c36235e4

View file

@ -18,12 +18,12 @@ if ( function_exists( 'wfLoadExtension' ) ) {
$wgMessagesDirs['OATHAuth'] = __DIR__ . '/i18n';
$wgExtensionMessagesFiles['OATHAuthAlias'] = __DIR__ . '/OATHAuth.alias.php';
/* wfWarn(
wfWarn(
'Deprecated PHP entry point used for OATHAuth extension. Please use wfLoadExtension instead, ' .
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
); */
);
return true;
} else {
die( 'This version of the OATHAuth extension requires MediaWiki 1.25+' );
die( 'This version of the OATHAuth extension requires MediaWiki 1.32+' );
}