r30067 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r30066‎ | r30067 | r30068 >
Date:22:34, 22 January 2008
Author:siebrand
Status:old
Tags:
Comment:
Mark a few extension messages optional
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageGroups.php
@@ -839,7 +839,13 @@
840840 protected $arrName = 'messages';
841841 protected $messageFile = 'ChangeAuthor/ChangeAuthor.i18n.php';
842842
843 - protected $ignored = array( 'changeauthor-short', 'changeauthor-logpagetext' );
 843+ protected $optional = array(
 844+ 'changeauthor-rev',
 845+ );
 846+ protected $ignored = array(
 847+ 'changeauthor-short',
 848+ 'changeauthor-logpagetext'
 849+ );
844850 }
845851
846852 class CheckUserMessageGroup extends ExtensionMessageGroup {
@@ -923,6 +929,10 @@
924930
925931 protected $arrName = 'messages';
926932 protected $messageFile = 'ConfirmAccount/ConfirmAccount.i18n.php';
 933+
 934+ protected $optional = array(
 935+ 'requestaccount-info',
 936+ );
927937 }
928938
929939 class ConfirmEditMessageGroup extends ExtensionMessageGroup {
@@ -1095,6 +1105,10 @@
10961106
10971107 protected $exportStart = '$messages = array(';
10981108 protected $exportEnd = ');';
 1109+
 1110+ protected $optional = array(
 1111+ 'revreview-toggle',
 1112+ );
10991113 }
11001114
11011115 class FlaggedRevsMakeReviewerMessageGroup extends MultipleFileMessageGroup {

Status & tagging log