Merge "Don't send edit token in action=visualeditor requests"

This commit is contained in:
jenkins-bot 2014-01-06 15:39:09 +00:00 committed by Gerrit Code Review
commit 24808c87a6

View file

@ -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',