r43409 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43408‎ | r43409 | r43410 >
Date:11:58, 12 November 2008
Author:grondin
Status:old
Tags:
Comment:
* adding EmergencyDeSysop into Translation extension features
* fixing variable array in Emergency DeSysop alias file
* adding alias link into EmergencyDeSysop extension main file
Modified paths:
  • /trunk/extensions/EmergencyDeSysop/EmergencyDeSysop.alias.php (modified) (history)
  • /trunk/extensions/EmergencyDeSysop/EmergencyDeSysop.php (modified) (history)
  • /trunk/extensions/Translate/aliases.txt (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -237,6 +237,8 @@
238238
239239 Email Address Image
240240
 241+Emergency DeSysop
 242+
241243 Error Handler
242244
243245 Eval
Index: trunk/extensions/Translate/aliases.txt
@@ -94,6 +94,9 @@
9595 Edit user
9696 file = EditUser/EditUser.alias.php
9797
 98+Emergency DeSysop
 99+file = EmergencyDeSysop/EmergencyDeSysop.alias.php
 100+
98101 Eval
99102 file = Eval/SpecialEval.alias.php
100103
Index: trunk/extensions/EmergencyDeSysop/EmergencyDeSysop.alias.php
@@ -1,7 +1,7 @@
22 <?php
3 -$messages = array();
 3+$aliases = array();
44
55 /** English */
6 -$messages['en'] = array(
 6+$aliases['en'] = array(
77 'EmergencyDeSysop' => array( 'EmergencyDeSysop', 'EmergencyDesysop' ),
8 -);
\ No newline at end of file
 8+);
Index: trunk/extensions/EmergencyDeSysop/EmergencyDeSysop.php
@@ -21,7 +21,7 @@
2222 $dir = dirname(__FILE__);
2323
2424 $wgExtensionMessagesFiles['EmergencyDeSysop'] = "$dir/EmergencyDeSysop.i18n.php";
25 -
 25+$wgExtensionAliasesFiles['EmergencyDeSysop'] = "$dir/EmergencyDeSysop.alias.php";
2626 $wgAutoloadClasses['SpecialEmergencyDeSysop'] = "$dir/SpecialEmergencyDeSysop.php";
2727
2828 $wgSpecialPages['EmergencyDeSysop'] = 'SpecialEmergencyDeSysop';

Status & tagging log