Use context->getRequest() instead of $wgRequest

Follows-up ca37780

Change-Id: Ifbca6894def6261e2644508d2f979d18503fbecc
Merge "Use context->getRequest() instead of $wgRequest"