X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSetup.php;h=071b7c6feb21983d9a7d3ec9f08b6ae5f8f6e4dc;hb=52d871d0908282aa29dbf35b5ebc10c5cb5cfa09;hp=bf363ab50e02ea442465c7858ef5b35aeccd2d57;hpb=f22189e49024a9960f832d1e3a48dca3580caa27;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Setup.php b/includes/Setup.php index bf363ab50e..071b7c6feb 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -736,10 +736,10 @@ $cpPosInfo = LBFactory::getCPInfoFromCookieValue( MediaWikiServices::getInstance()->getDBLoadBalancerFactory()->setRequestInfo( [ 'IPAddress' => $wgRequest->getIP(), 'UserAgent' => $wgRequest->getHeader( 'User-Agent' ), - 'ChronologyProtection' => $wgRequest->getHeader( 'MediaWiki-ChronologyProtection' ), + 'ChronologyProtection' => $wgRequest->getHeader( 'MediaWiki-Chronology-Protection' ), 'ChronologyPositionIndex' => $wgRequest->getInt( 'cpPosIndex', $cpPosInfo['index'] ), 'ChronologyClientId' => $cpPosInfo['clientId'] - ?? $wgRequest->getHeader( 'MediaWiki-ChronologyClientId' ) + ?? $wgRequest->getHeader( 'MediaWiki-Chronology-Client-Id' ) ] ); unset( $cpPosInfo ); // Make sure that object caching does not undermine the ChronologyProtector improvements