2005-09-18 09:28:56 +00:00
|
|
|
<?php
|
|
|
|
|
2015-05-03 00:21:26 +00:00
|
|
|
if ( function_exists( 'wfLoadExtension' ) ) {
|
|
|
|
wfLoadExtension( 'Nuke' );
|
|
|
|
// Keep i18n globals so mergeMessageFileList.php doesn't break
|
|
|
|
$wgMessagesDirs['Nuke'] = __DIR__ . '/i18n';
|
|
|
|
$wgExtensionMessagesFiles['NukeAlias'] = __DIR__ . '/Nuke.alias.php';
|
2015-10-02 07:48:42 +00:00
|
|
|
|
2018-10-26 19:17:31 +00:00
|
|
|
wfWarn(
|
2015-05-03 00:21:26 +00:00
|
|
|
'Deprecated PHP entry point used for Nuke extension. Please use wfLoadExtension instead, ' .
|
|
|
|
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
|
2018-10-26 19:17:31 +00:00
|
|
|
);
|
2015-10-02 07:48:42 +00:00
|
|
|
|
2015-05-03 00:21:26 +00:00
|
|
|
return true;
|
|
|
|
} else {
|
2018-10-26 19:17:31 +00:00
|
|
|
die( 'This version of the Nuke extension requires MediaWiki 1.28.1+' );
|
2011-02-14 20:21:02 +00:00
|
|
|
}
|