mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
[doc only] Update comment in ApiParsoidTrait which mentions renamed file
This file was moved in 3f0f302577
(July 2019).
Change-Id: I310f8ad171cb927b93f61d4a7677741c3cb8faf1
This commit is contained in:
parent
53b169ab43
commit
26df6d45c2
|
@ -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"',
|
||||
|
|
Loading…
Reference in a new issue