Thread:Project:Support desk/$wgUser deprecated/reply

As far as I know, $wgUser is not deprecated. You can use variable by add "global $wgUser" to user code.