MediaWiki talk:Shared-repo-name-shared
Our shared repo config:
$wgForeignFileRepos[] = array(
'class' => 'ForeignAPIRepo',
'name' => 'shared',
'apibase' => 'http://commons.wikimedia.org/w/api.php',
'fetchDescription' => true, // Optional
'descriptionCacheExpiry' => 3600,
);
The message on this page will display for $1 in sharedupload ("This file is from $1 and may be used by other projects."). See for example File:Flag of the Netherlands.svg.