Alex Monk has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/315739

Change subject: Fix another case where we need to pass the section
......................................................................

Fix another case where we need to pass the section

Bug: T144654
Change-Id: I5f91b9329525ceaeb971d02f93c959d908d748f7
---
M modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/39/315739/1

diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js 
b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js
index bcd39b4..7a75b76 100644
--- a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js
+++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js
@@ -842,7 +842,7 @@
                                                mechanism: 'url'
                                        } );
                                        if ( isViewPage && uri.query.veaction 
in editModes ) {
-                                               activateTarget( editModes[ 
uri.query.veaction ] );
+                                               activateTarget( editModes[ 
uri.query.veaction ], section );
                                        } else {
                                                if (
                                                        conf.enableWikitext &&

-- 
To view, visit https://gerrit.wikimedia.org/r/315739
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5f91b9329525ceaeb971d02f93c959d908d748f7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <a...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to