r25648 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25647‎ | r25648 | r25649 >
Date:18:58, 7 September 2007
Author:siebrand
Status:old
Tags:
Comment:
Add support for ContributionScores in Translate.
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageGroups.php
@@ -567,6 +567,16 @@
568568
569569 }
570570
 571+class ContributionScoresMessageGroup extends ExtensionMessageGroup {
 572+ protected $label = 'Extension: Contribution Scores';
 573+ protected $id = 'ext-contributionscores';
 574+
 575+ protected $arrName = 'allMessages';
 576+ protected $messageFile = 'ContributionScores/ContributionScores.i18n.php';
 577+
 578+ protected $exportLineP = "\t";
 579+}
 580+
571581 class ContributionseditcountMessageGroup extends ExtensionMessageGroup {
572582 protected $label = 'Extension: Contributionseditcount';
573583 protected $id = 'ext-contributionseditcount';
Index: trunk/extensions/Translate/Translate.php
@@ -57,6 +57,7 @@
5858 'ext-confiraccount' => 'ConfirmAccountMessageGroup',
5959 'ext-confirmedit' => 'ConfirmEditMessageGroup',
6060 'ext-contactpage' => 'ContactPageExtensionGroup',
 61+'ext-contributionscores' => 'ContributionScoresMessageGroup',
6162 'ext-contributionseditcount'=> 'ContributionseditcountMessageGroup',
6263 'ext-contributors' => 'ContributorsMessageGroup',
6364 'ext-countedits' => 'CountEditsMessageGroup',

Status & tagging log