diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
commit | d9022f63880ce039446fba8364f68e656b7bf4cb (patch) | |
tree | 16b40fbf17bf7c9ee6f4ead25b16dd192378050a /mw-config | |
parent | 27cf83d177256813e2e802241085fce5dd0f3fb9 (diff) |
Update to MediaWiki 1.19.0
Diffstat (limited to 'mw-config')
-rw-r--r-- | mw-config/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mw-config/index.php b/mw-config/index.php index 1e6d0e4f..c65be69c 100644 --- a/mw-config/index.php +++ b/mw-config/index.php @@ -34,10 +34,10 @@ function wfInstallerMain() { $session = array(); } - if ( isset( $session['settings']['_UserLang'] ) ) { + if ( !is_null( $wgRequest->getVal( 'uselang' ) ) ) { + $langCode = $wgRequest->getVal( 'uselang' ); + } elseif ( isset( $session['settings']['_UserLang'] ) ) { $langCode = $session['settings']['_UserLang']; - } elseif ( !is_null( $wgRequest->getVal( 'UserLang' ) ) ) { - $langCode = $wgRequest->getVal( 'UserLang' ); } else { $langCode = 'en'; } |