Page MenuHomePhabricator

Replace use of $wgRequest in wmf-config (CommonSettings.php / throttle-analyze.php)
Open, Needs TriagePublic

Description

Use of $wgRequest could be deprecated and remove someday (T160810) and should be replaced also in wmf-config code.

A one-by-one replacement is with RequestContext::getMain()->getRequest(), better it is to use some inherit IContextSource, but it seems the arguments passed to the hooks does not provide a context source.