Esanders has uploaded a new change for review. https://gerrit.wikimedia.org/r/318007
Change subject: Fix arguments passed to requestPageData when switching ...................................................................... Fix arguments passed to requestPageData when switching Change-Id: I890d782829fd077096be364c26a41b56ec4a2df3 --- M modules/ve-mw/init/targets/ve.init.mw.DesktopWikitextArticleTarget.js 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/07/318007/1 diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopWikitextArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.DesktopWikitextArticleTarget.js index 6d5c855..36ebb01 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.DesktopWikitextArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopWikitextArticleTarget.js @@ -48,6 +48,7 @@ dataPromise = mw.libs.ve.targetLoader.requestPageData( 'source', this.pageName, + null, // We may have this.section but VE is always full page at the moment this.requestedRevId, this.constructor.name ).then( -- To view, visit https://gerrit.wikimedia.org/r/318007 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I890d782829fd077096be364c26a41b56ec4a2df3 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Esanders <esand...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits