r95972 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95971‎ | r95972 | r95973 >
Date:12:41, 1 September 2011
Author:catrope
Status:resolved
Tags:
Comment:
RL2: Fix stupid mistake in r95970 that broke translated titles and descriptions
Modified paths:
  • /branches/RL2/extensions/Gadgets/backend/Gadget.php (modified) (history)

Diff [purge]

Index: branches/RL2/extensions/Gadgets/backend/Gadget.php
@@ -132,7 +132,7 @@
133133 return $lang->ucfirst( $this->name );
134134 }
135135 if ( $langcode !== null ) {
136 - $msg->inLanguage( $langcode );
 136+ $msg = $msg->inLanguage( $langcode );
137137 }
138138 return $msg->plain();
139139
@@ -158,7 +158,7 @@
159159 return '';
160160 }
161161 if ( $langcode !== null ) {
162 - $msg->inLanguage( $langcode );
 162+ $msg = $msg->inLanguage( $langcode );
163163 }
164164 return $msg->parse();
165165 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r95973Followup r95970, r95972: fix translations for real this time. Calling Message...catrope12:48, 1 September 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95970RL2: Rename getTitleMsg() to getTitleMessageKey(), and introduce getTitleMess...catrope12:19, 1 September 2011

Status & tagging log