Page MenuHomePhabricator

Opening VisualEditor on en.wp always loads Mapbox
Closed, ResolvedPublic0 Estimated Story Points

Description

Whenever you open the VE, you will load the entire map box library. This seems highly undesirable for performance.

$1.mapbox

< {requiredBy: ["ext.kartographer.settings", "ext.kartographer.lib.topojson"], requires: []}

$1["ext.kartographer.settings"]

< {requiredBy: ["ext.kartographer.box"], requires: ["mapbox"]}

$1["ext.kartographer.box"]

< {requiredBy: ["ext.kartographer.visualEditor"], requires: Array}

Event Timeline

Change 317080 had a related patch set uploaded (by JGirault):
Fix mapbox and other map scripts always loaded by VE

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

Change 317080 merged by jenkins-bot:
Fix mapbox and other map scripts always loaded by VE

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