I think that this
/* @var $wgRequest WebRequest */
is not needed here anymore