r110265 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110264‎ | r110265 | r110266 >
Date:03:46, 30 January 2012
Author:robin
Status:ok
Tags:
Comment:
follow-up r108034: actually return the value of $code in getTargetLanguage (this broke lang/dir tags on the ajax edit form)
Modified paths:
  • /trunk/extensions/Translate/utils/TranslationHelpers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslationHelpers.php
@@ -177,6 +177,7 @@
178178 if ( $code === $wgTranslateDocumentationLanguageCode ) {
179179 return $wgLanguageCode;
180180 }
 181+ return $code;
181182 }
182183
183184 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108034* Refactored TranslationHelpers to have MessageHandle as store variable, inst...nikerabbit15:13, 4 January 2012

Status & tagging log