wiki.techinc.nl/includes
Piotr Miazga 1981e704c7 http: fix JobRunner overriding requestId with null
After deploying T320559 we found out that JobRunner sometimes calls
the WebRequest::overrideRequestId() with a null. This caused the
TelemetryService to fail due to $newId not being a string.

As a solution there is a new method called regenerateRequestId()
that will handle the regeneration as it's recommended to keep the
overrideRequestId() strict.

Bug: T343893
Change-Id: I3e6daa238fd8de0d9ea88660b8ba32b922b1323d
2023-08-09 18:13:58 +02:00
..
actions InfoAction: Use word separator instead of hard-coded spaces 2023-08-06 11:40:38 +00:00
api Localisation updates from https://translatewiki.net. 2023-08-09 09:01:00 +02:00
auth Merge "Auth: Introduce several AuthManager session keys as constants" 2023-08-06 12:30:29 +00:00
block Merge "Mass migrate Database::insert calls to InsertQueryBuilder" 2023-08-08 11:01:32 +00:00
cache Merge "Simplify WHERE conditions with field IS NULL" 2023-07-24 18:34:30 +00:00
Category Replace IDatabase::delete with DeleteQueryBuilder 2023-06-21 17:50:31 +02:00
changes Merge "Mass migrate Database::insert calls to InsertQueryBuilder" 2023-08-08 11:01:32 +00:00
changetags Mass migrate Database::insert calls to InsertQueryBuilder 2023-08-07 19:44:27 +02:00
collation
CommentFormatter
CommentStore Mass migrate Database::insert calls to InsertQueryBuilder 2023-08-07 19:44:27 +02:00
composer
config config: Remove unused ConfigRepository::getValueOf() method 2023-08-08 21:42:29 +01:00
content Merge "content,maintenance: Use class-string<ClassName> in doc blocks" 2023-07-31 22:40:35 +00:00
context Reset the cached skin in RequestContext::setAuthority() 2023-08-03 02:06:16 +02:00
dao
db rdbms: Move two static methods of LBFactory to ChronologyProtector 2023-08-01 10:40:52 +00:00
debug Consistently use LogicException for test-only methods 2023-07-22 16:21:42 +00:00
deferred Mass migrate Database::insert calls to InsertQueryBuilder 2023-08-07 19:44:27 +02:00
diff Migrate last batch of simple Database::select* calls to SQB 2023-08-01 20:38:13 +02:00
edit
editpage Merge "Edit recovery feature using indexedDB" 2023-07-27 11:43:49 +00:00
exception
export Merge sequences of if that end doing the same thing anyway 2023-06-16 16:09:42 +02:00
ExternalLinks Externallinks: Keep domain wildcard if path is not specified 2023-07-11 12:56:42 +02:00
externalstore Mass migrate Database::insert calls to InsertQueryBuilder 2023-08-07 19:44:27 +02:00
Feed
filebackend
filerepo Merge "Mass migrate Database::insert calls to InsertQueryBuilder" 2023-08-08 11:01:32 +00:00
gallery Remove $wgLang usage from Title 2023-07-11 11:15:02 +10:00
historyblob Migrate more calls of Database::select* to SelectQueryBuilder 2023-07-26 13:01:28 +02:00
Hook
HookContainer Merge "Consistently use LogicException for test-only methods" 2023-07-24 04:06:17 +00:00
Html Html: Move encodeJsVar() + encodeJsCall() from Xml 2023-07-14 13:42:02 -04:00
htmlform Avoid DB access in non-database tests 2023-08-06 22:57:48 +00:00
http http: fix JobRunner overriding requestId with null 2023-08-09 18:13:58 +02:00
import WikiImporter: Improve error message output 2023-07-09 22:48:55 +00:00
installer Merge "Mass migrate Database::insert calls to InsertQueryBuilder" 2023-08-08 11:01:32 +00:00
interwiki Migrate more calls of Database::select* to SelectQueryBuilder 2023-07-26 13:01:28 +02:00
jobqueue http: fix JobRunner overriding requestId with null 2023-08-09 18:13:58 +02:00
json
language Merge "objectcache: Remove IExpiringStore interface" 2023-08-08 20:31:46 +00:00
languages LanguageWa: Use standard date formatting for standard formats 2023-08-08 15:01:17 +02:00
libs Merge "rdbms: Avoid making a db query when getting MySQL/MariaDB version" 2023-08-09 03:18:57 +00:00
linkeddata Avoid DB access in non-database tests 2023-08-06 22:57:48 +00:00
linker Skin: Use different single-id for edit/create and (un)watch links 2023-07-30 18:09:18 +08:00
logging Avoid DB access in more non-Database tests 2023-08-06 16:07:27 +00:00
mail mail: Final round of EmailUser refactoring 2023-06-20 11:02:51 +00:00
Maintenance
media
Message
Navigation
objectcache objectcache: Reduce boilerplate and indirection around makeKey() 2023-08-03 10:42:56 +02:00
page Merge "objectcache: Remove IExpiringStore interface" 2023-08-08 20:31:46 +00:00
pager Fix DB usage in non-database tests 2023-07-21 13:52:47 +02:00
ParamValidator/TypeDef
parser Bcp47Code fixes to ParsoidParser and LanguageVariantConverterUnitTest 2023-08-07 17:31:04 -04:00
password
Permissions Fix reference to nonexistent concept "create intent" 2023-08-01 10:04:52 +10:00
poolcounter
preferences Avoid use of VirtualRESTServiceClient in SignatureValidator 2023-08-07 21:37:55 +00:00
profiler
rcfeed
registration Consistently use LogicException for test-only methods 2023-07-22 16:21:42 +00:00
RenameUser
Request Merge "http: Propagate tracestate and traceparent headers" 2023-08-08 01:07:08 +00:00
ResourceLoader Merge "core - client side preferences inline script" 2023-08-08 01:16:47 +00:00
Rest Localisation updates from https://translatewiki.net. 2023-07-27 09:09:43 +00:00
Revision Mass migrate Database::insert calls to InsertQueryBuilder 2023-08-07 19:44:27 +02:00
revisiondelete Introduce FileSelectQueryBuilder 2023-08-07 19:05:34 +02:00
revisionlist
search Merge "Mass migrate Database::insert calls to InsertQueryBuilder" 2023-08-08 11:01:32 +00:00
session Consistently use LogicException for test-only methods 2023-07-22 16:21:42 +00:00
Settings Move array destructuring into foreach 2023-07-08 19:52:46 +00:00
shell shell: Do not sandbox MediaWiki maintenance scripts 2023-08-07 12:17:11 -07:00
site Mass migrate Database::insert calls to InsertQueryBuilder 2023-08-07 19:44:27 +02:00
SiteStats Mass migrate Database::insert calls to InsertQueryBuilder 2023-08-07 19:44:27 +02:00
skins Tooltip fix 2023-08-07 14:40:57 -05:00
sparql
specialpage Merge "Mass migrate Database::insert calls to InsertQueryBuilder" 2023-08-08 11:01:32 +00:00
specials Merge "specials: Use cross-wiki aware UserIdentityLookup on Special:UserRights" 2023-08-07 14:55:46 +00:00
Storage Merge "objectcache: Remove IExpiringStore interface" 2023-08-08 20:31:46 +00:00
StubObject
templates EnhancedChangesListGroup.mustache: Fix spaces and escaping 2023-07-27 09:46:53 +00:00
tidy Merge sequences of if that end doing the same thing anyway 2023-06-16 16:09:42 +02:00
title Merge "title: Uncache title from internal title cache on id reset" 2023-08-06 09:39:40 +00:00
upload Merge "Mass migrate Database::insert calls to InsertQueryBuilder" 2023-08-08 11:01:32 +00:00
user Merge "Mass migrate Database::insert calls to InsertQueryBuilder" 2023-08-08 11:01:32 +00:00
utils
watcheditem rdbms: Remove or move unused public methods of ILB/ILBF 2023-08-01 10:33:43 +00:00
watchlist
widget
WikiMap
xml Html: Move encodeJsVar() + encodeJsCall() from Xml 2023-07-14 13:42:02 -04:00
.htaccess
AutoLoader.php AutoLoader: Make $psr4Namespaces private (reinstated) 2023-08-08 00:40:31 +00:00
BootstrapHelperFunctions.php
config-schema.php Merge "Deprecate $wgLegalTitleChars and $wgIllegalFileChars" 2023-08-02 15:29:34 +00:00
DefaultSettings.php
Defines.php
DevelopmentSettings.php
ExtensionInfo.php
GitInfo.php
GlobalFunctions.php GlobalFunctions: Update outdated wfScript() docs 2023-07-24 19:35:13 +01:00
Hooks.php Consistently use LogicException for test-only methods 2023-07-22 16:21:42 +00:00
MainConfigNames.php Merge "Deprecate $wgLegalTitleChars and $wgIllegalFileChars" 2023-08-02 15:29:34 +00:00
MainConfigSchema.php Merge "http: Propagate tracestate and traceparent headers" 2023-08-08 01:07:08 +00:00
MediaWiki.php rdbms: Update outdated docs regarding ChronologyProtector 2023-08-01 20:49:22 +00:00
MediaWikiServices.php virtualrest: Hard deprecate VirtualRESTService & VirtualRESTServiceClient 2023-08-08 02:01:53 +01:00
MWTimestamp.php
NoLocalSettings.php
OutputHandler.php
OutputPage.php objectcache: Remove IExpiringStore interface 2023-08-08 20:15:03 +00:00
PHPVersionCheck.php
ServiceWiring.php Merge "http: Propagate tracestate and traceparent headers" 2023-08-08 01:07:08 +00:00
Setup.php phpunit: Throw exception when MediaWikiServices is accessed too early 2023-07-17 12:16:14 +00:00
SetupDynamicConfig.php
SiteConfiguration.php Make Shell::makeScriptCommand use run.php 2023-07-25 01:35:59 +00:00
Status.php
StreamFile.php
WebRequest.php http: fix JobRunner overriding requestId with null 2023-08-09 18:13:58 +02:00
WebStart.php