/** * Reset static members used for caching. * * Global state and $wgRequest are evil, but we're using it right * now and sometimes we need to be able to force ResourceLoader to * re-evaluate the context because it has changed (e.g. in the test suite). */ public static function clearCache() { self::$debugMode = null; }