Page MenuHomePhabricator

activity.toolforge.org loads third-party content for d3
Open, Needs TriagePublic

Description

https://activity.toolforge.org/ loads third-party content from d3js.org.

https://toolsadmin.wikimedia.org/tools/id/activity says "Outreachy round 15" (and lists @Shreya1771 as maintainer, but they might not be active anymore).

Event Timeline

Replace https://d3js.org/d3.v3.min.js
with

https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js

Which seems to be the last of the v3 series. Or of course just use npm in the project to include d3.

Even better: https://tools-static.wmflabs.org/cdnjs/ajax/libs/d3/3.5.17/d3.min.js (I don’t think cloudflare.com is any better than d3js.org)