mediawiki-extensions-Nuke/Nuke.php

29 lines
768 B
PHP
Raw Normal View History

<?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';
2007-07-26 10:54:37 +00:00
$wgExtensionCredits['specialpage'][] = array(
'path' => __FILE__,
'name' => 'Nuke',
'descriptionmsg' => 'nuke-desc',
'author' => 'Brion Vibber',
'url' => 'http://www.mediawiki.org/wiki/Extension:Nuke',
'version' => Nuke_VERSION,
2007-07-26 10:54:37 +00:00
);
$wgGroupPermissions['sysop']['nuke'] = true;
$wgAvailableRights[] = 'nuke';
$wgAutoloadClasses['SpecialNuke'] = $dir . 'Nuke_body.php';
$wgSpecialPages['Nuke'] = 'SpecialNuke';
2008-09-01 17:25:05 +00:00
$wgSpecialPageGroups['Nuke'] = 'pagetools';