r34224 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34223‎ | r34224 | r34225 >
Date:18:31, 4 May 2008
Author:siebrand
Status:old
Tags:
Comment:
Add support for AbsenteeLandlord and Apc
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.php
@@ -11,7 +11,7 @@
1212 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
1313 */
1414
15 -define( 'TRANSLATE_VERSION', '8.32' );
 15+define( 'TRANSLATE_VERSION', '8.33' );
1616
1717 $wgExtensionCredits['specialpage'][] = array(
1818 'name' => 'Translate',
@@ -89,10 +89,12 @@
9090 'core-mostused' => 'CoreMostUsedMessageGroup',
9191 'ext-0-all' => 'AllMediawikiExtensionsGroup',
9292 'ext-0-wikimedia' => 'AllWikimediaExtensionsGroup',
 93+'ext-absenteelandlord' => 'AbsenteeLandlordMessageGroup',
9394 'ext-advancedrandom' => 'AdvancedRandomMessageGroup',
9495 'ext-ajaxquerypages' => 'AjaxQueryPagesMessageGroup',
9596 'ext-ajaxshoweditors' => 'AjaxShowEditorsMessageGroup',
9697 'ext-antispoof' => 'AntiSpoofMessageGroup',
 98+'ext-apc' => 'ApcMessageGroup',
9799 'ext-asksql' => 'AsksqlMessageGroup',
98100 'ext-assertedit' => 'AssertEditMessageGroup',
99101 'ext-authorprotect' => 'AuthorProtectMessageGroup',
Index: trunk/extensions/Translate/MessageGroups.php
@@ -760,6 +760,14 @@
761761 }
762762 }
763763
 764+class AbsenteeLandlordMessageGroup extends ExtensionMessageGroup {
 765+ protected $label = 'Absentee Landlord';
 766+ protected $id = 'ext-absenteelandlord';
 767+
 768+ protected $arrName = 'messages';
 769+ protected $messageFile = 'AbsenteeLandlord/AbsenteeLandlord.i18n.php';
 770+}
 771+
764772 class AdvancedRandomMessageGroup extends ExtensionMessageGroup {
765773 protected $label = 'Advanced Random';
766774 protected $id = 'ext-advancedrandom';
@@ -792,6 +800,14 @@
793801 protected $messageFile = 'AntiSpoof/AntiSpoof.i18n.php';
794802 }
795803
 804+class ApcMessageGroup extends ExtensionMessageGroup {
 805+ protected $label = 'APC';
 806+ protected $id = 'ext-apc';
 807+
 808+ protected $arrName = 'messages';
 809+ protected $messageFile = 'APC/ViewAPC.i18n.php';
 810+}
 811+
796812 class AsksqlMessageGroup extends ExtensionMessageGroup {
797813 protected $label = 'Asksql';
798814 protected $id = 'ext-asksql';

Status & tagging log