mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
synced 2024-11-16 04:21:44 +00:00
29 lines
768 B
PHP
29 lines
768 B
PHP
<?php
|
|
|
|
if( !defined( 'MEDIAWIKI' ) ) {
|
|
die( 'Not an entry point.' );
|
|
}
|
|
|
|
define( 'Nuke_VERSION', '1.1' );
|
|
|
|
$dir = dirname(__FILE__) . '/';
|
|
|
|
$wgExtensionMessagesFiles['Nuke'] = $dir . 'Nuke.i18n.php';
|
|
$wgExtensionAliasesFiles['Nuke'] = $dir . 'Nuke.alias.php';
|
|
|
|
$wgExtensionCredits['specialpage'][] = array(
|
|
'path' => __FILE__,
|
|
'name' => 'Nuke',
|
|
'descriptionmsg' => 'nuke-desc',
|
|
'author' => 'Brion Vibber',
|
|
'url' => 'http://www.mediawiki.org/wiki/Extension:Nuke',
|
|
'version' => Nuke_VERSION,
|
|
);
|
|
|
|
$wgGroupPermissions['sysop']['nuke'] = true;
|
|
$wgAvailableRights[] = 'nuke';
|
|
|
|
$wgAutoloadClasses['SpecialNuke'] = $dir . 'Nuke_body.php';
|
|
$wgSpecialPages['Nuke'] = 'SpecialNuke';
|
|
$wgSpecialPageGroups['Nuke'] = 'pagetools';
|