GSoC/GCI Archive
Google Code-in 2013 Wikimedia

MultimediaViewer: External URLs inconsistent in "use this file" tool

completed by: Vldandrew

mentors: Andre Klapper, Quim Gil

MultimediaViewer is a MediaWiki extension that gives the user of a wiki a slightly nicer interface for viewing full-size, or nearly full-size, images in their browser without extraneous page loads or confusing interstitial pages. It is currently a beta feature deployed in all Wikimedia sites.

Currently it has this little problem:

The link URL is protocol-relative, the image src is always https.

Given that we want to encourage safe browsing of Wikimedia sites, I would go
with https for both.

See this bug report for more information:

Please ask any questions in the bug report. You will have better chances for quicker and better answers from the project maintainers and other community contributors.

Students are required to read Wikimedia's general instructions first. Patches should be submitted to Gerrit and reference the bug report in the commit message. Improvements to an initial patch must be submitted as an amendment  to the initial patch, not as new patches.