r112783 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112782‎ | r112783 | r112784 >
Date:09:16, 1 March 2012
Author:nikerabbit
Status:ok
Tags:i18nreview 
Comment:
Do not hide source language link, followup r112576
Modified paths:
  • /trunk/extensions/Translate/tag/PageTranslationHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/tag/PageTranslationHooks.php
@@ -205,6 +205,8 @@
206206 if ( $filter !== null ) {
207207 // If translation is restricted to some languages, only show them
208208 if ( $priorityForce === 'on' ) {
 209+ // Do not filter the source language link
 210+ $filter[$page->getMessageGroup()->getSourceLanguage()] = true;
209211 $status = array_intersect_key( $status, $filter );
210212 }
211213 foreach ( $filter as $langCode => $value ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r1125761. Restrict translation to a language if the group has a different priority l...santhosh05:03, 28 February 2012

Status & tagging log