Merge "[doc only] Update comment in ApiParsoidTrait which mentions renamed file"

This commit is contained in:
jenkins-bot 2022-05-11 13:22:47 +00:00 committed by Gerrit Code Review
commit 2861442874

View file

@ -130,7 +130,8 @@ trait ApiParsoidTrait {
protected function requestRestbase(
Title $title, string $method, string $path, array $params, array $reqheaders = []
): array {
// Should be synchronised with modules/ve-mw/init/ve.init.mw.ArticleTargetLoader.js
// Should be synchronised with requestParsoidData() in
// modules/ve-mw/preinit/ve.init.mw.ArticleTargetLoader.js
$reqheaders += [
'Accept' =>
'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.0.0"',