Last modified: 2010-05-15 15:54:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16973, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14973 - RepoGroup.php error
RepoGroup.php error
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.12.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-29 19:51 UTC by shi zhao
Modified: 2010-05-15 15:54 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description shi zhao 2008-07-29 19:51: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
Comment 1 Chad H. 2008-07-29 21:33:09 UTC
ForeignApiRepo class wasn't added until 1.13, so 1.12 wouldn't be able to use it.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links