__FILE__, 'name' => 'Nuke', 'descriptionmsg' => 'nuke-desc', 'author' => array( 'Brion Vibber', 'Jeroen De Dauw', 'Marcin Cieślak' ), 'url' => 'https://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'; // Resource loader modules $moduleTemplate = array( 'localBasePath' => dirname( __FILE__ ) . '/', 'remoteExtPath' => 'Nuke/' ); $wgResourceModules['ext.nuke'] = $moduleTemplate + array( 'scripts' => array( 'ext.nuke.js' ), 'messages' => array( ) ); unset( $moduleTemplate );