Page MenuHomePhabricator

Tool "remarkup2wikitext" loads assets from code.jquery.com and Google Analytics
Closed, ResolvedPublic

Description

http://tools.wmflabs.org/remarkup2wikitext/: https://code.jquery.com/jquery-1.12.0.min.js
http://tools.wmflabs.org/remarkup2wikitext/: https://www.google-analytics.com/analytics.js
http://tools.wmflabs.org/remarkup2wikitext/: https://www.google-analytics.com/r/collect?v=1&_v=j56&a=478739458&t=pageview&_s=1&dl=http%3A%2F%2Ftools.wmflabs.org%2Fremarkup2wikitext%2F&ul=en-us&de=UTF-8&sd=24-bit&sr=1366x768&vp=400x300&je=0&fl=26.0%20r0&_u=IEBAAMABI~&jid=1404453522&gjid=891180135&cid=2081044330.1501431859&tid=UA-XXXXX-X&_gid=2101192292.1501431859&_r=1&z=638182895

Loading from external providers are discouraged. Please see parent tasks and J65.
In your case a direct replacement for jQuery would be https://tools-static.wmflabs.org/cdnjs/ajax/libs/jquery/1.12.0/jquery.min.js
As for Google Analytics, is it required for the operation of the tool?

Event Timeline

Uhh, it must have been mindless copypasting of some HTML boilerplate. It uses neither jQuery nor GA (and GA still used the sample siteid ŲA-XXXXX-X).