Paladox has uploaded a new change for review. https://gerrit.wikimedia.org/r/264596
Change subject: Fix extension name, Fix jenkins tests ...................................................................... Fix extension name, Fix jenkins tests The extension is named BlockAndNuke at https://www.mediawiki.org/wiki/Extension:BlockAndNuke and the repo name here is the same but the name in the files isen't. Change-Id: Ia9b5547a72ea2421ba9945d730bb2077549fd065 --- M BlockandNuke.php 1 file changed, 11 insertions(+), 7 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlockAndNuke refs/changes/96/264596/1 diff --git a/BlockandNuke.php b/BlockandNuke.php index 7b89e51..3879787 100644 --- a/BlockandNuke.php +++ b/BlockandNuke.php @@ -1,22 +1,26 @@ <?php + //user will get this message if the haven't installed the extension -if( !defined( 'MEDIAWIKI' ) ) + +if( !defined( 'MEDIAWIKI' ) ) { die( 'Not an entry point.' ); +} + //path of the extension -$dir = dirname(__FILE__) . '/'; +$dir = __DIR__ . '/'; //load internationalization file. -$wgMessagesDirs['BlockandNuke'] = __DIR__ . '/i18n'; -$wgExtensionMessagesFiles['BlockandNuke'] = $dir . 'BlockandNuke.i18n.php'; +$wgMessagesDirs['BlockAndNuke'] = __DIR__ . '/i18n'; +$wgExtensionMessagesFiles['BlockAndNuke'] = $dir . 'BlockandNuke.i18n.php'; //setup instructions $wgExtensionCredits['specialpage'][] = array( 'path' => __FILE__, - 'name' => 'BlockandNuke', + 'name' => 'BlockAndNuke', 'description' => 'Gives sysops the ability to mass delete users and their pages', - 'descriptionmsg' => 'block-desc', + 'descriptionmsg' => 'blockandnuke-desc', 'author' => 'Eliora Stahl', - 'url' => 'http://www.mediawiki.org/wiki/Extension:BlockandNuke', + 'url' => 'http://www.mediawiki.org/wiki/Extension:BlockAndNuke', ); //Permissions - not recognised as admin -- To view, visit https://gerrit.wikimedia.org/r/264596 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia9b5547a72ea2421ba9945d730bb2077549fd065 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlockAndNuke Gerrit-Branch: master Gerrit-Owner: Paladox <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
