Last modified: 2010-05-15 15:54:48 UTC
set LocalSettings.php: $wgForeignFileRepos[] = array( ‘class’ => ‘ForeignAPIRepo’, ‘name’ => ’shared’, ‘apibase’ => ‘http://commons.wikimedia.org/w/api.php’, ‘fetchDescription’ => true, // Optional ); page with image of commons: Fatal error: Class 'ForeignAPIRepo' not found in /var/www/wiki/includes/filerepo/RepoGroup.php on line 214
ForeignApiRepo class wasn't added until 1.13, so 1.12 wouldn't be able to use it.