mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Merge "Don't send edit token in action=visualeditor requests"
This commit is contained in:
commit
24808c87a6
|
@ -70,7 +70,6 @@ ve.ce.MWExtensionNode.prototype.generateContents = function ( config ) {
|
||||||
'paction': 'parsefragment',
|
'paction': 'parsefragment',
|
||||||
'page': mw.config.get( 'wgRelevantPageName' ),
|
'page': mw.config.get( 'wgRelevantPageName' ),
|
||||||
'wikitext': wikitext,
|
'wikitext': wikitext,
|
||||||
'token': mw.user.tokens.get( 'editToken' ),
|
|
||||||
'format': 'json'
|
'format': 'json'
|
||||||
},
|
},
|
||||||
'dataType': 'json',
|
'dataType': 'json',
|
||||||
|
|
Loading…
Reference in a new issue