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:
5b7f1f3
)
follow-up r60272 and r60292. replace getText with getCheck.
author
Philip Tzou
<philip@users.mediawiki.org>
Tue, 22 Dec 2009 14:36:00 +0000
(14:36 +0000)
committer
Philip Tzou
<philip@users.mediawiki.org>
Tue, 22 Dec 2009 14:36:00 +0000
(14:36 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
c149a6b
..
cd02d2c
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-854,7
+854,7
@@
class OutputPage {
patched by Liangent and Philip */
function addAcceptLanguage() {
global $wgRequest, $wgContLang;
- if(
$wgRequest->getText('variant') == false
&& $wgContLang->hasVariants() ) {
+ if(
!$wgRequest->getCheck('variant')
&& $wgContLang->hasVariants() ) {
$variants = $wgContLang->getVariants();
$aloption = array();
foreach ( $variants as $variant ) {