r81094 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81093‎ | r81094 | r81095 >
Date:16:52, 27 January 2011
Author:raymond
Status:ok
Tags:
Comment:
Some consistency tweaks to messages and alias file
set eol-style
Add extension to Translatewiki
Modified paths:
  • /trunk/extensions/EmailUsers/COPYING (modified) (history)
  • /trunk/extensions/EmailUsers/EmailUsers.alias.php (modified) (history)
  • /trunk/extensions/EmailUsers/EmailUsers.i18n.php (modified) (history)
  • /trunk/extensions/EmailUsers/EmailUsers.php (modified) (history)
  • /trunk/extensions/EmailUsers/SpecialEmailUsers.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Property changes on: trunk/extensions/EmailUsers/EmailUsers.php
___________________________________________________________________
Added: svn:eol-style
11 + native
Property changes on: trunk/extensions/EmailUsers/SpecialEmailUsers.php
___________________________________________________________________
Added: svn:eol-style
22 + native
Index: trunk/extensions/EmailUsers/EmailUsers.alias.php
@@ -1,11 +1,15 @@
22 <?php
33
4 -if ( !defined( 'MEDIAWIKI' ) ) {
5 - die();
6 -}
7 -
8 -$aliases = array();
 4+$specialPageAliases = array();
95
10 -$aliases['en'] = array(
 6+/** English
 7+ * @author Liangent
 8+ */
 9+$specialPageAliases['en'] = array(
1110 'EmailUsers' => array( 'EmailUsers' ),
1211 );
 12+
 13+/**
 14+ * For backwards compatibility with MediaWiki 1.15 and earlier.
 15+ */
 16+$aliases =& $specialPageAliases;
Property changes on: trunk/extensions/EmailUsers/EmailUsers.alias.php
___________________________________________________________________
Added: svn:eol-style
1317 + native
Property changes on: trunk/extensions/EmailUsers/COPYING
___________________________________________________________________
Added: svn:eol-style
1418 + native
Index: trunk/extensions/EmailUsers/EmailUsers.i18n.php
@@ -1,13 +1,19 @@
22 <?php
 3+/**
 4+ * Internationalisation file for Email users extension.
 5+ *
 6+ * @file
 7+ * @ingroup Extensions
 8+ * @author Liangent
 9+ */
310
4 -if ( !defined( 'MEDIAWIKI' ) ) {
5 - die();
6 -}
7 -
811 $messages = array();
912
 13+/** English
 14+ * @author Liangent
 15+ */
1016 $messages['en'] = array(
11 - 'emailusers-desc' => 'Allowing users to send mails to multiple recipients',
 17+ 'emailusers-desc' => 'Allowing users to send e-mails to multiple recipients',
1218
1319 'emailusers' => 'E-mail users',
1420 'emailusers-target-reverse' => 'Send to all users except for selected ones',
@@ -16,3 +22,4 @@
1723 'emailusers-norecipientselected' => 'No recipient is selected.',
1824 'emailusers-toomanyrecipientsselected' => 'Too many recipients are selected.',
1925 );
 26+
Property changes on: trunk/extensions/EmailUsers/EmailUsers.i18n.php
___________________________________________________________________
Added: svn:eol-style
2027 + native
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -398,6 +398,9 @@
399399 aliasfile = EmailPage/EmailPage.alias.php
400400 descmsg = ea-desc
401401
 402+Email Users
 403+aliasfile = EmailUsers/EmailUsers.alias.php
 404+
402405 Embed Video
403406
404407 Emergency DeSysop

Status & tagging log