- 'ChronologyPositionIndex' => $wgRequest->getInt(
- 'cpPosIndex',
- LBFactory::getCPIndexFromCookieValue(
- // The cookie has no prefix and is set by MediaWiki::preOutputCommit()
- $wgRequest->getCookie( 'cpPosIndex', '' ),
- // Mitigate broken client-side cookie expiration handling (T190082)
- time() - ChronologyProtector::POSITION_COOKIE_TTL
- )
- )
+ 'ChronologyPositionIndex' => $wgRequest->getInt( 'cpPosIndex', $cpPosInfo['index'] ),
+ 'ChronologyClientId' => $cpPosInfo['clientId']