* Pass the WebRequest object to User::newFromSession() and use it instead of $wgReque...