Index: trunk/phase3/languages/LanguageConverter.php |
— | — | @@ -243,13 +243,7 @@ |
244 | 244 | global $wgOut, $wgUseXVO; |
245 | 245 | $wgOut->addVaryHeader( 'Accept-Language' ); |
246 | 246 | if( $wgUseXVO ) { |
247 | | - $aloption = array(); |
248 | | - foreach( $this->mVariants as $variant ) { |
249 | | - if($variant === $this->mMainLanguageCode) |
250 | | - continue; |
251 | | - $aloption[] = 'string-contains=' . $variant; |
252 | | - } |
253 | | - $wgOut->addXVOHeader( 'Accept-Language', $aloption ); |
| 247 | + $wgOut->addXVOHeader( 'Accept-Language', array($ret_language) ); |
254 | 248 | } |
255 | 249 | } |
256 | 250 | return $ret_language; |