mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
Include wpUltimateParam when switching from VE to source editor
Bug: T199554 Change-Id: I032f822a11840ca16687322bfa051418bc7e9c06
This commit is contained in:
parent
8025610b8a
commit
51beff9327
|
@ -1862,8 +1862,11 @@ ve.init.mw.ArticleTarget.prototype.submit = function ( wikitext, fields ) {
|
|||
wpStarttime: this.startTimeStamp,
|
||||
wpEdittime: this.baseTimeStamp,
|
||||
wpTextbox1: wikitext,
|
||||
wpEditToken: this.editToken,
|
||||
// MediaWiki function-verification parameters, mostly relevant to the
|
||||
// classic editpage, but still required here:
|
||||
wpUnicodeCheck: 'ℳ𝒲♥𝓊𝓃𝒾𝒸ℴ𝒹ℯ',
|
||||
wpEditToken: this.editToken
|
||||
wpUltimateParam: true
|
||||
}, fields );
|
||||
// Add params as hidden fields
|
||||
for ( key in params ) {
|
||||
|
|
Loading…
Reference in a new issue