wiki.techinc.nl/includes/context
DannyS712 a2b20b63d7 Emit deprecation warnings reading from $wgUser
With this patch deprecation warnings will be emitted
if $wgUser is accessed or written into. The only pattern
of usage still allowed is

$oldUser = $wgUser;
$wgUser = $newUser;
// Do something
$wgUser = $oldUser;

Once there is no deprecation warnings, we know that nothing
legitimately depends on $wgUser being set, so we can safely
remove the code that's still allowed as well.

Bug: T267861
Change-Id: Ia1c42b3a32acd0e2bb9b0e93f1dc3c82640dcb22
2021-09-15 20:17:04 -07:00
..
Hook Merge "Clarify documentaion of RequestContextCreateSkinHook" 2020-10-08 22:55:41 +00:00
ContextSource.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
DerivativeContext.php Revert "Use CsrfTokenSet as CSRF token source" 2021-08-05 15:48:26 -07:00
IContextSource.php Move CRSF token generation to CsrfTokenSet 2021-06-18 12:24:19 -07:00
MutableContext.php docs: Fix 'dependant' typos 2021-02-18 16:59:20 +00:00
RequestContext.php Emit deprecation warnings reading from $wgUser 2021-09-15 20:17:04 -07:00