wiki.techinc.nl/includes
Aaron Schulz fb51330084 rdbms: include client ID hash in ChronologyProtector cookies
Previously, if an internal service forwarded the cookies for a
user (e.g. for permissions) but not the User-Agent header or not
the IP address (e.g. XFF), ChronologyProtector could timeout
waiting for a matching writeIndex to appear for the wrong key.

The cookie now tethers the client to the key that holds the
DB positions from their last state-changing request.

Bug: T194403
Bug: T190082
Change-Id: I84f2cbea82532d911cdfed14644008894498813a
2018-06-02 03:57:30 +00:00
..
actions Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
api Localisation updates from https://translatewiki.net. 2018-06-01 21:54:03 +02:00
auth Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
cache Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
changes Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
changetags Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
clientpool Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
collation Use PHP 7 '<=>' operator in 'sort()' callbacks 2018-05-30 18:05:20 -07:00
compat Merge "Kill non namespaced ScopedCallback" 2018-06-01 04:35:22 +00:00
composer Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
config Expose the latest modified index seen by EtcdConfig 2018-03-01 13:44:15 +01:00
content Merge "Add cleanup for handlers cache." 2018-03-15 23:48:16 +00:00
context Update MediaWiki\quietCall() -> Wikimedia\quietCall() 2018-02-10 10:49:33 +00:00
dao Use PHP 5.6 constant expressions for some bitfield constants 2018-05-30 18:05:18 -07:00
db rdbms: make sure cpPosIndex cookie is applied to LBFactory in time 2018-04-23 15:44:02 +00:00
debug Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
deferred Populate externallinks.el_index_60 and drop default 2018-05-15 12:08:35 -04:00
diff Use PHP 5.6 '**' operator instead of 'pow()' function 2018-05-30 18:05:19 -07:00
edit Remove deprecated PreparedEdit properties 2018-01-26 16:57:13 -08:00
editpage Use Sanitizer::mergeAttributes when merging classes into attributes 2018-01-05 10:32:56 +01:00
exception exception: Improve formatting of fatal error log messages 2018-03-21 19:27:12 +00:00
export Don't use deprecated NS_IMAGE* 2018-03-16 22:58:58 -07:00
externalstore Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
filebackend Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
filerepo Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
gallery Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
htmlform Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
http PhpHttpRequest: Drop back-compat code for PHP 5.5 and before 2018-05-30 18:03:44 -07:00
import Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
installer Merge "installer: Don't allow setting $wgDBmysql5" 2018-06-01 21:35:50 +00:00
interwiki Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
jobqueue Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
json Remove workaround for PHP bug 66021 (PHP < 5.5.12) 2018-05-31 01:14:58 +00:00
libs rdbms: include client ID hash in ChronologyProtector cookies 2018-06-02 03:57:30 +00:00
linkeddata PageDataRequestHandler: Use getHeader() instead of getAllHeaders() 2018-05-23 06:05:47 +00:00
linker Remove various redundant '@license' tags in file headers 2018-01-12 18:15:11 +00:00
logging Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
mail Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
media Use wikimedia/xmp-reader library 2018-05-31 19:24:39 -07:00
objectcache Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
page Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
pager Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
parser Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
password Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
poolcounter Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
preferences Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
profiler Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
rcfeed Pass $key into CommentStore methods and use MediawikiServices 2018-02-05 15:34:12 +00:00
registration Merge "Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient" 2018-05-31 19:01:07 +00:00
resourceloader Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
revisiondelete Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
search Merge "Deprecate overriding SearchEngine::search*" 2018-05-16 13:31:56 +00:00
services Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
session Merge "Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient" 2018-05-31 19:01:07 +00:00
shell Merge "Use PHP7 constant expression instead of a magic number" 2018-05-31 19:21:32 +00:00
site Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
skins Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
sparql Replace recently introduced mediawiki/at-ease calls 2018-04-18 14:11:13 +00:00
specialpage Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
specials Merge "Use makeLink instead of makeKnownLink on Special:WhatLinksHere" 2018-05-31 21:39:10 +00:00
Storage Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
templates Remove $wgScriptExtension (deprecated and ignored since 1.25) 2018-04-19 01:11:23 +01:00
tidy tidy: Remove obsolete Depurate and Balancer drivers 2018-05-08 15:32:49 +00:00
title Revert "Strip soft hyphens (U+00AD) from title" 2018-05-31 10:45:11 -07:00
upload Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
user Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
utils Use PHP 5.6 '**' operator instead of 'pow()' function 2018-05-30 18:05:19 -07:00
watcheditem Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
widget Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
.htaccess
ActorMigration.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
AjaxDispatcher.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
AjaxResponse.php
AuthPlugin.php
AutoLoader.php Improve AutoLoader test coverage 2018-05-26 21:29:36 -07:00
Autopromote.php
Block.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
CategoriesRdf.php Add more data to categories dump 2018-01-17 00:40:16 +00:00
Category.php Merge "Avoid locking aggregated SELECT in Category::refresh" 2018-04-23 20:00:14 +00:00
CategoryFinder.php Drop the 'CategorizedRecentChanges' feature 2018-02-15 10:45:10 -08:00
CategoryViewer.php Avoid triggering Category::refreshCounts() on HTTP GET requests 2018-04-19 04:45:24 +00:00
CommentStore.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
CommentStoreComment.php
ConfiguredReadOnlyMode.php
ContentSecurityPolicy.php ContentSecurityPolicy: Add trailing & to report urls 2018-05-22 22:20:43 +00:00
DefaultSettings.php Remove deprecated wgResourceLoaderLESSImportPaths 2018-05-29 15:49:28 +01:00
Defines.php Remove deprecated utfnormal back-compat 2018-05-27 20:35:27 -07:00
DeprecatedGlobal.php build: Updating mediawiki/mediawiki-codesniffer to 15.0.0 2018-01-01 14:10:16 +01:00
DerivativeRequest.php
DevelopmentSettings.php tests: Remove verbose logging settings from DevelopmentSettings.php 2018-02-19 22:19:15 +00:00
DummyLinker.php
EditPage.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
EventRelayerGroup.php
FauxRequest.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
Feed.php Fix called function case in a bunch of places 2018-01-22 09:10:09 -08:00
FeedUtils.php Pass $key into CommentStore methods and use MediawikiServices 2018-02-05 15:34:12 +00:00
FileDeleteForm.php rdbms: make IDatabase::onTransaction* methods pass the DB handle for convenience 2018-04-24 16:45:11 -07:00
ForkController.php Treat phpdbg as run from the command line when checking PHP_SAPI 2018-01-03 23:00:37 -08:00
FormOptions.php
GitInfo.php Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
GlobalFunctions.php Merge "Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient" 2018-05-31 19:01:07 +00:00
HeaderCallback.php
HistoryBlob.php Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
Hooks.php Hooks: remove some unnecessary code 2018-05-26 23:39:07 -07:00
Html.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
Linker.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
LinkFilter.php
ListToggle.php
MagicWord.php Use PHP 7 '<=>' operator in 'sort()' callbacks 2018-05-30 18:05:20 -07:00
MagicWordArray.php
MediaWiki.php rdbms: include client ID hash in ChronologyProtector cookies 2018-06-02 03:57:30 +00:00
MediaWikiServices.php Add missing ActorMigration use statement to MediaWikiServices 2018-03-23 14:12:11 +00:00
MediaWikiVersionFetcher.php
MergeHistory.php Remove "Created on" from file header comments 2018-01-26 23:12:40 +00:00
Message.php Message: Only clear message cache when set language is different 2018-05-30 13:58:23 +00:00
MimeMagic.php
MovePage.php Tag redirects from moves as new redirects 2018-02-09 15:45:29 +00:00
MWGrants.php Remove various redundant '@license' tags in file headers 2018-01-12 18:15:11 +00:00
MWNamespace.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
MWTimestamp.php
NoLocalSettings.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
OrderedStreamingForkController.php
OutputHandler.php Immediately drop wgValidateAllHtml and related code 2018-04-10 10:51:28 -07:00
OutputPage.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
PageProps.php
PathRouter.php
PHPVersionCheck.php Insert space before compatibility link in PHP version message 2018-05-25 00:27:21 +02:00
Pingback.php Added heartbeat for pingback. 2018-03-26 11:48:27 -04:00
Preferences.php Fix PreferencesForm alias 2018-05-29 21:44:18 +00:00
PrefixSearch.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
ProtectionForm.php Allow limiting comment length by characters rather than bytes in JS 2018-02-23 22:12:29 +00:00
ProxyLookup.php Update IPSet use statements 2018-01-21 04:37:26 +00:00
RawMessage.php
ReadOnlyMode.php
Revision.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
RevisionList.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
ServiceWiring.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
Setup.php rdbms: include client ID hash in ChronologyProtector cookies 2018-06-02 03:57:30 +00:00
SiteConfiguration.php Deprecate wfShellWikiCmd() 2018-04-16 16:38:05 +00:00
SiteStats.php Salvage site_stats row with negative values in miser mode 2018-02-14 15:37:55 -08:00
SiteStatsInit.php Drop 'comma' value for wgArticleCountMethod 2018-03-01 16:37:23 -08:00
Status.php
StreamFile.php
StubObject.php Use wikimedia/object-factory 1.0.0 2018-02-04 12:52:44 -08:00
TemplateParser.php
TemplatesOnThisPageFormatter.php
Title.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
TitleArray.php Use IResultWrapper in UserArray and TitleArray 2018-04-06 00:06:35 +02:00
TitleArrayFromResult.php Use IResultWrapper in UserArray and TitleArray 2018-04-06 00:06:35 +02:00
TrackingCategories.php
WebRequest.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
WebRequestUpload.php
WebResponse.php
WebStart.php Merge "Setup: Move mbstring.func_overload from WebStart to Setup" 2018-04-18 16:22:16 +00:00
WikiMap.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
WikiReference.php
Xml.php Xml.php: Do not escape double quotes in $contents of Xml::element() 2018-05-23 20:03:54 +00:00
XmlJsCode.php
XmlSelect.php