mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
Always use trackingName for tracking
Change-Id: Ifc7d3275277628b310f5c017c43a76f5a7c25ea7
This commit is contained in:
parent
09cde07c45
commit
ff896e0be6
|
@ -1157,7 +1157,7 @@ ve.init.mw.ArticleTarget.prototype.load = function ( dataPromise ) {
|
|||
this.loading = dataPromise || mw.libs.ve.targetLoader.requestPageData( this.getDefaultMode(), this.pageName, {
|
||||
section: this.section,
|
||||
oldId: this.requestedRevId,
|
||||
targetName: this.constructor.static.name
|
||||
targetName: this.constructor.static.trackingName
|
||||
} );
|
||||
this.loading
|
||||
.done( this.loadSuccess.bind( this ) )
|
||||
|
@ -2189,7 +2189,7 @@ ve.init.mw.ArticleTarget.prototype.switchToWikitextEditor = function ( discardCh
|
|||
dataPromise = mw.libs.ve.targetLoader.requestPageData( 'source', this.pageName, {
|
||||
section: this.section,
|
||||
oldId: this.requestedRevId,
|
||||
targetName: this.constructor.static.name
|
||||
targetName: this.constructor.static.trackingName
|
||||
} ).then(
|
||||
function ( response ) { return response; },
|
||||
function () {
|
||||
|
@ -2259,7 +2259,7 @@ ve.init.mw.ArticleTarget.prototype.switchToVisualEditor = function () {
|
|||
} else {
|
||||
dataPromise = mw.libs.ve.targetLoader.requestParsoidData( this.pageName, {
|
||||
oldId: this.revid,
|
||||
targetName: this.constructor.static.name,
|
||||
targetName: this.constructor.static.trackingName,
|
||||
modified: this.edited,
|
||||
wikitext: this.getDocToSave()
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue