Last modified: 2007-07-22 20:10:07 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 T12132, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10132 - BotQuery extension uses obsolete Image functions, PHP fatal error
BotQuery extension uses obsolete Image functions, PHP fatal error
Status: RESOLVED DUPLICATE of bug 10187
Product: MediaWiki extensions
Classification: Unclassified
BotQuery (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-04 15:02 UTC by Brion Vibber
Modified: 2007-07-22 20:10 UTC (History)
1 user (show)

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


Attachments

Description Brion Vibber 2007-06-04 15:02:37 UTC
Some function in the BotQuery extension triggers PHP fatal errors when attempting to use Image methods which no longer exist:

Jun  4 15:01:06 srv139 httpd[21155]: PHP Fatal error:  Call to undefined method Image::getcommonsdb() in /usr/local/apache/common-local/php-1.5/extensions/BotQuery/query.php on line 1452 
Jun  4 15:01:07 srv51 httpd[31463]: PHP Fatal error:  Call to undefined method Image::imageurl() in /usr/local/apache/common-local/php-1.5/extensions/BotQuery/query.php on line 1513
Comment 1 Brion Vibber 2007-06-04 15:30:04 UTC
r22703 adds an imageUrl() compat function, but the use of getCommonsDb() kind of.... super-sucks.
Comment 2 Yuri Astrakhan 2007-07-07 03:42:57 UTC
As of r23819, the new API supports imageinfo requests. See http://en.wikipedia.org/w/api.php for an example (pending server sync).
Comment 3 Yuri Astrakhan 2007-07-15 01:41:34 UTC
Is this bug still happening? It seems to be working on en, while also giving error of "no shared repository".
Comment 4 Yuri Astrakhan 2007-07-22 20:10:07 UTC

*** This bug has been marked as a duplicate of bug 10187 ***

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


Navigation
Links