mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-23 18:28:51 +00:00
Bump requested Parsoid HTML version to 2.6.0
Change-Id: I544d31ca6ea6186a4ddaf7ef25fdea899f454c58
This commit is contained in:
parent
f69c187d6c
commit
c1afc62040
|
@ -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 */
|
||||
|
|
|
@ -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' )
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue