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.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/extensions/Nuke/Nuke.php b/extensions/Nuke/Nuke.php
index 80a41631..e10ce422 100644
--- a/extensions/Nuke/Nuke.php
+++ b/extensions/Nuke/Nuke.php
@@ -4,7 +4,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
die( 'Not an entry point.' );
}
-define( 'Nuke_VERSION', '1.1.7' );
+define( 'Nuke_VERSION', '1.1.8' );
$dir = dirname( __FILE__ ) . '/';
@@ -24,9 +24,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__ ) . '/',