summaryrefslogtreecommitdiff
path: root/extensions/Nuke/Nuke.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-04-26 18:23:31 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-04-26 18:23:31 +0200
commitc4372dd38a4d109b4f3881ea63b667e33adbe503 (patch)
treee8e6dae1229a68c26b7a348c73dc0c8c77da97e5 /extensions/Nuke/Nuke.php
parentcf566324cfb218f0c7323d97d2a103bbb8d60ba4 (diff)
Update to MediaWiki 1.18.3
Diffstat (limited to 'extensions/Nuke/Nuke.php')
-rw-r--r--extensions/Nuke/Nuke.php24
1 files changed, 20 insertions, 4 deletions
diff --git a/extensions/Nuke/Nuke.php b/extensions/Nuke/Nuke.php
index 28c7cda1..70b31291 100644
--- a/extensions/Nuke/Nuke.php
+++ b/extensions/Nuke/Nuke.php
@@ -4,19 +4,19 @@ if( !defined( 'MEDIAWIKI' ) ) {
die( 'Not an entry point.' );
}
-define( 'Nuke_VERSION', '1.1' );
+define( 'Nuke_VERSION', '1.1.3' );
$dir = dirname(__FILE__) . '/';
$wgExtensionMessagesFiles['Nuke'] = $dir . 'Nuke.i18n.php';
-$wgExtensionAliasesFiles['Nuke'] = $dir . 'Nuke.alias.php';
+$wgExtensionMessagesFiles['NukeAlias'] = $dir . 'Nuke.alias.php';
$wgExtensionCredits['specialpage'][] = array(
'path' => __FILE__,
'name' => 'Nuke',
'descriptionmsg' => 'nuke-desc',
- 'author' => 'Brion Vibber',
- 'url' => 'http://www.mediawiki.org/wiki/Extension:Nuke',
+ 'author' => array( 'Brion Vibber', 'Jeroen De Dauw' ),
+ 'url' => 'https://www.mediawiki.org/wiki/Extension:Nuke',
'version' => Nuke_VERSION,
);
@@ -26,3 +26,19 @@ $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 );