Hi,
I am trying to use Manual:$wgForeignFileRepos with ForeignAPIRepo as following settings. I can get file description from source commons wiki. However, the source commons wiki can't show which wiki used this file ("Global file usage") as commons.wikimedia.org does.
I do find a extension called Extension:GlobalUsage, but it says it was outdated. So how to acquire global file usage under Mediawiki 1.27 environment?
$wgForeignFileRepos[] = array(
'class' => 'ForeignAPIRepo',
'name' => 'commons', // Must be a distinct name
'apibase' => 'https://commons.mywiki.org/api.php',
'hashLevels' => 2,
'fetchDescription' => true, // Optional
'descriptionCacheExpiry' => 43200, // 12 hours, optional (values are seconds)
'apiThumbCacheExpiry' => 86400, // 24 hours, optional, but required for local thumb caching
);