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__) . '/';
|
|
|
|
|
|
|
|
$wgExtensionMessagesFiles['Nuke'] = $dir . 'SpecialNuke.i18n.php';
|
2008-07-10 07:28:42 +00:00
|
|
|
$wgExtensionAliasesFiles['Nuke'] = $dir . 'SpecialNuke.alias.php';
|
2005-09-18 09:28:56 +00:00
|
|
|
|
2007-07-26 10:54:37 +00:00
|
|
|
$wgExtensionCredits['specialpage'][] = array(
|
2008-02-14 13:50:42 +00:00
|
|
|
'name' => 'Nuke',
|
2008-05-09 18:53:09 +00:00
|
|
|
'svn-date' => '$LastChangedDate$',
|
|
|
|
'svn-revision' => '$LastChangedRevision$',
|
2008-02-14 13:50:42 +00:00
|
|
|
'description' => 'Gives sysops the ability to mass delete pages',
|
|
|
|
'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';
|
|
|
|
|
2008-05-09 18:53:09 +00:00
|
|
|
$wgAutoloadClasses['SpecialNuke'] = $dir . 'SpecialNuke_body.php';
|
|
|
|
$wgSpecialPages['Nuke'] = 'SpecialNuke';
|
2008-09-01 17:25:05 +00:00
|
|
|
$wgSpecialPageGroups['Nuke'] = 'pagetools';
|