r37426 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37425‎ | r37426 | r37427 >
Date:18:40, 9 July 2008
Author:jhsoby
Status:old
Tags:
Comment:
* Adding special page alias in Editcount, EditUser, EmailArticle, Eval, GlobalBlocking and ImportUsers
* Fixing error I added in r37418 (AdvancedRandom)
* Adding alias files for Editcount, EditUser, EmailArticle, Eval, GlobalBlocking and ImportUsers to aliases.txt in Translate
Modified paths:
  • /trunk/extensions/AdvancedRandom/SpecialAdvancedRandom.php (modified) (history)
  • /trunk/extensions/EditUser/EditUser.php (modified) (history)
  • /trunk/extensions/Editcount/SpecialEditcount.php (modified) (history)
  • /trunk/extensions/EmailArticle/EmailArticle.php (modified) (history)
  • /trunk/extensions/Eval/SpecialEval.php (modified) (history)
  • /trunk/extensions/GlobalBlocking/GlobalBlocking.php (modified) (history)
  • /trunk/extensions/ImportUsers/SpecialImportUsers.php (modified) (history)
  • /trunk/extensions/Translate/aliases.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/EmailArticle/EmailArticle.php
@@ -29,6 +29,7 @@
3030 $dir = dirname(__FILE__) . '/';
3131 $wgAutoloadClasses['SpecialEmailArticle'] = $dir . 'EmailArticle_body.php';
3232 $wgExtensionMessagesFiles['EmailArticle'] = $dir . 'EmailArticle.i18n.php';
 33+$wgExtensionAliasesFiles['EmailArticle'] = $dir . 'EmailArticle.alias.php';
3334 $wgSpecialPages['EmailArticle'] = 'SpecialEmailArticle';
3435
3536 $wgExtensionCredits['specialpage'][] = array(
Index: trunk/extensions/AdvancedRandom/SpecialAdvancedRandom.php
@@ -31,7 +31,7 @@
3232
3333 $dir = dirname(__FILE__) . '/';
3434 $wgExtensionMessagesFiles['AdvancedRandom'] = $dir . 'SpecialAdvancedRandom.i18n.php';
35 -$wgExtensionAliasesFiles['AdvancedRandom'] = $dir . 'SpecialAdvancedRandom.alias.php';
 35+$wgExtensionAliasesFiles['AdvancedRandom'] = $dir . 'AdvancedRandom.alias.php';
3636
3737 $wgAutoloadClasses['SpecialAdvancedRandom'] = $dir . 'AdvancedRandom_body.php';
3838
Index: trunk/extensions/ImportUsers/SpecialImportUsers.php
@@ -27,4 +27,5 @@
2828 $wgSpecialPages['ImportUsers'] = 'SpecialImportUsers';
2929 $wgAutoloadClasses['SpecialImportUsers'] = $dir . 'SpecialImportUsers_body.php';
3030 $wgExtensionMessagesFiles['ImportUsers'] = $dir . 'SpecialImportUsers.i18n.php';
 31+$wgExtensionAliasesFiles['ImportUsers'] = $dir . 'SpecialImportUsers.alias.php';
3132 $wgSpecialPageGroups['ImportUsers'] = 'users';
Index: trunk/extensions/GlobalBlocking/GlobalBlocking.php
@@ -25,6 +25,7 @@
2626 );
2727
2828 $wgExtensionMessagesFiles['GlobalBlocking'] = "$dir/GlobalBlocking.i18n.php";
 29+$wgExtensionAliasesFiles['GlobalBlocking'] = "$dir/GlobalBlocking.alias.php";
2930 $wgHooks['getUserPermissionsErrorsExpensive'][] = 'GlobalBlocking::getUserPermissionsErrors';
3031
3132 $wgAutoloadClasses['SpecialGlobalBlock'] = "$dir/SpecialGlobalBlock.php";
Index: trunk/extensions/Eval/SpecialEval.php
@@ -22,6 +22,7 @@
2323
2424 $dir = dirname(__FILE__) . '/';
2525 $wgExtensionMessagesFiles['Eval'] = $dir . 'SpecialEval.i18n.php';
 26+$wgExtensionAliasesFiles['Eval'] = $dir . 'SpecialEval.alias.php';
2627
2728 function wfSpecialEval() {
2829 wfUsePHP( 5.0 );
Index: trunk/extensions/EditUser/EditUser.php
@@ -18,7 +18,8 @@
1919 );
2020
2121 $dir = dirname(__FILE__) . '/';
22 -$wgExtensionMessagesFiles['EditUser'] = $dir .'EditUser.i18n.php';
 22+$wgExtensionMessagesFiles['EditUser'] = $dir . 'EditUser.i18n.php';
 23+$wgExtensionAliasesFiles['EditUser'] = $dir . 'EditUser.alias.php';
2324 $wgAutoloadClasses['EditUser'] = $dir . 'EditUser_body.php';
2425 $wgSpecialPages['EditUser'] = 'EditUser';
2526 $wgAvailableRights[] = 'edituser';
Index: trunk/extensions/Editcount/SpecialEditcount.php
@@ -24,6 +24,7 @@
2525 );
2626
2727 $dir = dirname(__FILE__) . '/';
28 -$wgExtensionMessagesFiles['Editcount'] = $dir .'SpecialEditcount.i18n.php';
 28+$wgExtensionMessagesFiles['Editcount'] = $dir . 'SpecialEditcount.i18n.php';
 29+$wgExtensionAliasesFiles['Editcount'] = $dir . 'SpecialEditcount.alias.php';
2930 $wgAutoloadClasses['Editcount'] = $dir . 'SpecialEditcount_body.php';
3031 $wgSpecialPages['Editcount'] = 'Editcount';
Index: trunk/extensions/Translate/aliases.txt
@@ -25,12 +25,30 @@
2626 DeletedContributions
2727 file = DeletedContributions/DeletedContributions.i18n.alias.php
2828
 29+Editcount
 30+file = Editcount/SpecialEditcount.alias.php
 31+
 32+EditUser
 33+file = EditUser/EditUser.alias.php
 34+
 35+EmailArticle
 36+file = EmailArticle/EmailArticle.alias.php
 37+
 38+Eval
 39+file = Eval/SpecialEval.alias.php
 40+
2941 ExpandTemplates
3042 file = ExpandTemplates/ExpandTemplates.alias.php
3143
3244 Gadgets
3345 file = Gadgets/Gadgets.i18n.alias.php
3446
 47+GlobalBlocking
 48+file = GlobalBlocking/GlobalBlocking.alias.php
 49+
 50+ImportUsers
 51+file = ImportUsers/SpecialImportUsers.alias.php
 52+
3553 LinkSearch
3654 file = LinkSearch/LinkSearch.alias.php
3755

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r37418* Adding special page alias in AdvancedRandom, CheckUser, ConfirmAccount, Con...jhsoby17:40, 9 July 2008

Status & tagging log