2005-09-18 09:28:56 +00:00
|
|
|
<?php
|
|
|
|
|
2011-02-14 20:21:02 +00:00
|
|
|
if( !defined( 'MEDIAWIKI' ) ) {
|
2005-09-18 09:28:56 +00:00
|
|
|
die( 'Not an entry point.' );
|
2011-02-14 20:21:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
define( 'Nuke_VERSION', '1.1' );
|
2005-09-18 09:28:56 +00:00
|
|
|
|
2008-05-09 18:53:09 +00:00
|
|
|
$dir = dirname(__FILE__) . '/';
|
|
|
|
|
2010-04-18 11:53:49 +00:00
|
|
|
$wgExtensionMessagesFiles['Nuke'] = $dir . 'Nuke.i18n.php';
|
|
|
|
$wgExtensionAliasesFiles['Nuke'] = $dir . 'Nuke.alias.php';
|
2005-09-18 09:28:56 +00:00
|
|
|
|
2007-07-26 10:54:37 +00:00
|
|
|
$wgExtensionCredits['specialpage'][] = array(
|
2009-04-26 05:22:33 +00:00
|
|
|
'path' => __FILE__,
|
2008-02-14 13:50:42 +00:00
|
|
|
'name' => 'Nuke',
|
|
|
|
'descriptionmsg' => 'nuke-desc',
|
|
|
|
'author' => 'Brion Vibber',
|
2011-02-14 20:21:02 +00:00
|
|
|
'url' => 'http://www.mediawiki.org/wiki/Extension:Nuke',
|
|
|
|
'version' => Nuke_VERSION,
|
2007-07-26 10:54:37 +00:00
|
|
|
);
|
|
|
|
|
2005-09-18 09:28:56 +00:00
|
|
|
$wgGroupPermissions['sysop']['nuke'] = true;
|
|
|
|
$wgAvailableRights[] = 'nuke';
|
|
|
|
|
2010-04-18 11:53:49 +00:00
|
|
|
$wgAutoloadClasses['SpecialNuke'] = $dir . 'Nuke_body.php';
|
2008-05-09 18:53:09 +00:00
|
|
|
$wgSpecialPages['Nuke'] = 'SpecialNuke';
|
2008-09-01 17:25:05 +00:00
|
|
|
$wgSpecialPageGroups['Nuke'] = 'pagetools';
|