mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Bump Parsoid HTML version to 1.6.0
It's a brave new world. https://www.mediawiki.org/w/index.php?title=Parsoid/Deployments&oldid=2644817#Tuesday,_Dec._12,_2017_around_11:45_am_PT:_Y_Deployed_741fc5d Change-Id: Ib22dc5370cd01bf5becdd639cc12d6a5ccc653a3
This commit is contained in:
parent
aaabd8d84b
commit
d2d6d23522
|
@ -89,7 +89,7 @@ class ApiVisualEditor extends ApiBase {
|
|||
$request['body'] = $params;
|
||||
}
|
||||
// Should be synchronised with modules/ve-mw/init/ve.init.mw.ArticleTargetLoader.js
|
||||
$reqheaders['Accept'] = 'text/html; charset=utf-8; profile="mediawiki.org/specs/html/1.2.0"';
|
||||
$reqheaders['Accept'] = 'text/html; charset=utf-8; profile="mediawiki.org/specs/html/1.6.0"';
|
||||
$reqheaders['User-Agent'] = 'VisualEditor-MediaWiki/' . $wgVersion;
|
||||
$reqheaders['Api-User-Agent'] = 'VisualEditor-MediaWiki/' . $wgVersion;
|
||||
$request['headers'] = $reqheaders;
|
||||
|
|
|
@ -178,7 +178,7 @@
|
|||
|
||||
// Should be synchronised with ApiVisualEditor.php
|
||||
headers = {
|
||||
Accept: 'text/html; charset=utf-8; profile="mediawiki.org/specs/html/1.2.0"',
|
||||
Accept: 'text/html; charset=utf-8; profile="mediawiki.org/specs/html/1.6.0"',
|
||||
'Api-User-Agent': 'VisualEditor-MediaWiki/' + mw.config.get( 'wgVersion' )
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue