Page MenuHomePhabricator

make $wgUseInstantCommons protocol always secure / SSL / https
Closed, DuplicatePublic

Description

Author: mr.tamershlash

Description:
$wgUseInstantCommons protocol appears to be relative according to this bugfix: https://bugzilla.wikimedia.org/show_bug.cgi?id=32219

However, in some countries (like Syria) Wikimedia Commons is blocked if you're using http, so if you're on another wiki that doesn't have ssl, you'll not be able to see any image form the commons, which is really odd.

I think that $wgUseInstantCommons should always use https, I tried to use $wgForeignFileRepos code here: https://www.mediawiki.org/wiki/Manual:$wgUseInstantCommons and changed the apibase to use https and everything worked just fine, it'll be better if just the easy $wgUseInstantCommons use https always.

Thanks.


Version: 1.21.x
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=32219

Details

Reference
bz53131