From e977ca4336da681fde95e6c4e62891988c1d41a2 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Tue, 25 Oct 2016 15:50:14 -0700 Subject: [PATCH] Fix edit source links for NWE We fixed these to use vesection instead of section. Change-Id: I0aa6530b6707239c41216421394379301b0878a7 --- .../ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6e120590db..92ae8dc99d 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 @@ -669,7 +669,7 @@ return target; } ); } else { - section = +( new mw.Uri( e.target.href ).query.section ); + section = +( new mw.Uri( e.target.href ).query.vesection ); targetPromise = targetPromise.then( function ( target ) { target.section = section; return target;