https://bugzilla.wikimedia.org/show_bug.cgi?id=26250

           Summary: ForeignAPIRepo breaks images
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: Images and files
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: manuel.schnei...@wikimedia.ch
                CC: gpaum...@wikimedia.org, bryan.tongm...@gmail.com


Tried both, 1.16.0 tarball from mediawiki.org as well as SVN REL1_16.

PHP version: 5.2.12

from LocalSettings.php:
--- snip ---
$wgForeignFileRepos[]   = array(
  'class'               => 'ForeignAPIRepo',
  'name'                => 'shared',
  'apibase'             => 'http://commons.wikimedia.org/w/api.php',
  'fetchDescription'    => true
);
--- snap ---

Whenever I try to embedd an image - be it local or external - I get the
following error message:
Fatal error: Cannot use object of type stdClass as array in
/var/www/[...]/includes/filerepo/ForeignAPIFile.php on line 101

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to