r35796 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35795‎ | r35796 | r35797 >
Date:15:03, 3 June 2008
Author:tstarling
Status:old
Tags:
Comment:
Fixed user language transfer
Modified paths:
  • /trunk/extensions/BoardVote/BoardVote.php (modified) (history)

Diff [purge]

Index: trunk/extensions/BoardVote/BoardVote.php
@@ -57,6 +57,8 @@
5858 if ( isset( $_SESSION['bvLang'] ) && !isset( $_REQUEST['uselang'] ) ) {
5959 wfDebug( __METHOD__.": Setting user language to {$_SESSION['bvLang']}\n" );
6060 $_REQUEST['uselang'] = $_SESSION['bvLang'];
 61+ global $wgLang;
 62+ $wgLang = Language::factory( $_SESSION['bvLang'] );
6163 }
6264 }
6365

Status & tagging log