Wikimedia

http://wm-bot.wmflabs.org/browser/ should not load assets from external 3rd party domains

WM Bot is an IRC bot running in Wikimedia channels on Freenode. Its C# code is in this Git repository on GitHub.

The website http://wm-bot.wmflabs.org/browser/ is loading assets from external web sites:

  1. fonts.googleapis.com
  2. code.jquery.com
  3. camo.githubusercontent.com

These are all violations of the Terms of Use for wmflabs.org (that Wikimedia website is usually called "Labs" or "Toolforge"), since there is no interstitial warning you that your IP address is being sent to a third party.

We should probably host these files ourselves, since many other wmflabs projects depend on them. One could download these files from these URLs, place these files somewhere in the code repository and refer to them using a relative path, so that these files are not loaded from jquery.com and other websites anymore, but from some Wikimedia server on which this PHP code lives.

Note that we have our own CDN for cloud services purposes at https://tools.wmflabs.org/cdnjs/

If you have specific questions about this task it is best to ask your questions in https://phabricator.wikimedia.org/T133644 (see the Phabricator help) where more people will see them.

Task tags

  • php
  • bot

Students who completed this task

Yifei He

Task type

  • code Code
close

2017