mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 17:14:42 +00:00
Fix sqlite compatibility by opting out of obligatory write lock
Bug: T259685
Depends-On: If37dc890a24a45c3a914e310b5b5bf625965e9e6
Change-Id: Ib203145f4c9ddfdc6701a916cbbbe17dae85efb9
(cherry picked from commit 3561167493
)
This commit is contained in:
parent
be34a2da1e
commit
1ddd2930bb
|
@ -134,6 +134,7 @@ trait ApiParsoidTrait {
|
|||
'Accept-Language' => self::getPageLanguage( $title )->getCode(),
|
||||
'User-Agent' => 'VisualEditor-MediaWiki/' . MW_VERSION,
|
||||
'Api-User-Agent' => 'VisualEditor-MediaWiki/' . MW_VERSION,
|
||||
'X-MediaWiki-Read' => 'true',
|
||||
];
|
||||
// $reqheaders take precedence over $defaultReqHeaders
|
||||
$request['headers'] = $reqheaders + $defaultReqHeaders;
|
||||
|
|
Loading…
Reference in a new issue