Last modified: 2007-07-22 20:10:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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 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.