mediawiki-extensions-Nuke/Nuke.php
Marcin Cieślak c56370bf33 bug 16985: Show number of recent edits in Special:Nuke
One aggregate query only to get list of recent changes
matching the criteria.

Bumping extension version + adding myself to credits.

Followup-To: r108602 r108871

i18n: remove nuke-viewchanges introduced in r111298
2012-03-12 00:18:08 +00:00

45 lines
1.1 KiB
PHP

<?php
if( !defined( 'MEDIAWIKI' ) ) {
die( 'Not an entry point.' );
}
define( 'Nuke_VERSION', '1.1.5' );
$dir = dirname(__FILE__) . '/';
$wgExtensionMessagesFiles['Nuke'] = $dir . 'Nuke.i18n.php';
$wgExtensionMessagesFiles['NukeAlias'] = $dir . 'Nuke.alias.php';
$wgExtensionCredits['specialpage'][] = array(
'path' => __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 );