dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46ee7b2
)
follow-up r59522, add missing credit.
author
Philip Tzou
<philip@users.mediawiki.org>
Sat, 28 Nov 2009 19:15:55 +0000
(19:15 +0000)
committer
Philip Tzou
<philip@users.mediawiki.org>
Sat, 28 Nov 2009 19:15:55 +0000
(19:15 +0000)
languages/LanguageConverter.php
patch
|
blob
|
history
diff --git
a/languages/LanguageConverter.php
b/languages/LanguageConverter.php
index
1999447
..
24cc99e
100644
(file)
--- a/
languages/LanguageConverter.php
+++ b/
languages/LanguageConverter.php
@@
-187,6
+187,7
@@
class LanguageConverter {
if( array_key_exists( 'HTTP_ACCEPT_LANGUAGE', $_SERVER ) ) {
// bug 21672: Add Accept-Language to Vary and XVO headers
// to help Squid to determine user's perferred local language
+ // thanks to Liangent's help
global $wgOut, $wgUseXVO;
$wgOut->addVaryHeader( 'Accept-Language' );
if( $wgUseXVO )