Page MenuHomePhabricator

Tool "openrefine-wikidata" loads assets from bootstrapcdn and github
Open, Needs TriagePublic

Description

https://tools.wmflabs.org/openrefine-wikidata/: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css
https://tools.wmflabs.org/openrefine-wikidata/: https://ghbtns.com/github-btn.html?user=wetneb&repo=openrefine-wikidata&type=star&count=true
https://tools.wmflabs.org/openrefine-wikidata/: https://api.github.com/repos/wetneb/openrefine-wikidata?callback=callback

Loading from external providers are discouraged. Please see parent tasks and J65.

For bootstrap you can use https://tools-static.wmflabs.org/cdnjs/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css
I'm not sure about the github star button due to being dynamic content. You may want to setup a proxy or use an alternative static button.

Event Timeline

Restricted Application added subscribers: PokestarFan, Aklapper. · View Herald TranscriptAug 7 2017, 8:34 PM

PR merged, but change is not in live yet:

$ curl "https://tools.wmflabs.org/openrefine-wikidata/" -s|grep maxcdn
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"