summaryrefslogtreecommitdiff
path: root/extensions/Nuke/Nuke.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Nuke/Nuke.php')
-rw-r--r--extensions/Nuke/Nuke.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/extensions/Nuke/Nuke.php b/extensions/Nuke/Nuke.php
index 80a41631..12022f28 100644
--- a/extensions/Nuke/Nuke.php
+++ b/extensions/Nuke/Nuke.php
@@ -4,10 +4,11 @@ if ( !defined( 'MEDIAWIKI' ) ) {
die( 'Not an entry point.' );
}
-define( 'Nuke_VERSION', '1.1.7' );
+define( 'Nuke_VERSION', '1.2.0' );
$dir = dirname( __FILE__ ) . '/';
+$wgMessagesDirs['Nuke'] = __DIR__ . '/i18n';
$wgExtensionMessagesFiles['Nuke'] = $dir . 'Nuke.i18n.php';
$wgExtensionMessagesFiles['NukeAlias'] = $dir . 'Nuke.alias.php';
@@ -24,9 +25,12 @@ $wgGroupPermissions['sysop']['nuke'] = true;
$wgAvailableRights[] = 'nuke';
$wgAutoloadClasses['SpecialNuke'] = $dir . 'Nuke_body.php';
+$wgAutoloadClasses['NukeHooks'] = $dir . 'Nuke.hooks.php';
$wgSpecialPages['Nuke'] = 'SpecialNuke';
$wgSpecialPageGroups['Nuke'] = 'pagetools';
+$wgHooks['ContributionsToolLinks'][] = 'NukeHooks::nukeContributionsLinks';
+
// Resource loader modules
$moduleTemplate = array(
'localBasePath' => dirname( __FILE__ ) . '/',