apibase is used for fetching content from the server as well as determining description pages, so should use a full-qualified protocol when the site's in https.
language
* (bug 33454) ISO-8601 week-based year number (format character 'o') is now
calculated correctly with respect to timezone
+* (bug 32219) InstantCommons now fetches content from Wikimedia Commons using
+ HTTPS when the local wiki is served over HTTPS
=== API changes in 1.19 ===
* (bug 19838) siprop=interwikimap can now use the interwiki cache.
$wgForeignFileRepos[] = array(
'class' => 'ForeignAPIRepo',
'name' => 'wikimediacommons',
- 'apibase' => '//commons.wikimedia.org/w/api.php',
+ 'apibase' => WebRequest::detectProtocol() === 'https' ?
+ 'https://commons.wikimedia.org/w/api.php' :
+ 'http://commons.wikimedia.org/w/api.php',
'hashLevels' => 2,
'fetchDescription' => true,
'descriptionCacheExpiry' => 43200,