2005-09-18 09:28:56 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
if( !defined( 'MEDIAWIKI' ) )
|
|
|
|
die( 'Not an entry point.' );
|
|
|
|
|
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',
|
|
|
|
'url' => 'http://www.mediawiki.org/wiki/Extension:Nuke'
|
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';
|