Bump requested Parsoid HTML version to 2.6.0

Change-Id: I544d31ca6ea6186a4ddaf7ef25fdea899f454c58
This commit is contained in:
Arlo Breault 2022-10-20 17:01:17 -04:00
parent f69c187d6c
commit c1afc62040
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ class DirectParsoidClient implements ParsoidClient {
* Keep this in sync with the Accept: header in
* ve.init.mw.ArticleTargetLoader.js
*/
public const PARSOID_VERSION = '2.4.0';
public const PARSOID_VERSION = '2.6.0';
private const FLAVOR_DEFAULT = 'view';
/** @var ParsoidOutputStash */

View file

@ -366,7 +366,7 @@
var headers = {
// Should be synchronised with DirectParsoidClient.php
Accept: 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.4.0"',
Accept: 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.6.0"',
'Accept-Language': mw.config.get( 'wgVisualEditor' ).pageLanguageCode,
'Api-User-Agent': 'VisualEditor-MediaWiki/' + mw.config.get( 'wgVersion' )
};