Last modified: 2008-03-26 18:09:31 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 13517 - Exception when trying to get info for anonymous user
Exception when trying to get info for anonymous user
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-03-26 12:12 UTC by Gurch
Modified: 2008-03-26 18:09 UTC (History)
1 user (show)

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


Description Gurch 2008-03-26 12:12:26 UTC


<?xml version="1.0" encoding="utf-8"?>
  <error code="internal_api_error_MWException" info="Exception Caught: Database::makeList: empty input">

#0 /usr/local/apache/common-local/php-1.5/includes/Database.php(1237): Database->makeList(Array, 1)
#1 /usr/local/apache/common-local/php-1.5/includes/api/ApiQueryBase.php(131): Database->select(Array, Array, Array, 'ApiQueryUsers::...', Array)
#2 /usr/local/apache/common-local/php-1.5/includes/api/ApiQueryUsers.php(93): ApiQueryBase->select('ApiQueryUsers::...')
#3 /usr/local/apache/common-local/php-1.5/includes/api/ApiQueryUsers.php(55): ApiQueryUsers->getOtherUsersInfo(Array)
#4 /usr/local/apache/common-local/php-1.5/includes/api/ApiQuery.php(210): ApiQueryUsers->execute()
#5 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(356): ApiQuery->execute()
#6 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(224): ApiMain->executeAction()
#7 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(209): ApiMain->executeActionWithErrorHandling()
#8 /usr/local/apache/common-local/php-1.5/api.php(77): ApiMain->execute()
#9 /usr/local/apache/common-local/live-1.5/api.php(3): require('/usr/local/apac...')
#10 {main}


for any anonymous user.

It would be nice to be able to retrieve information (edit count in particular) for anonymous users through the API. If this is not possible, it should fail a little more gracefully.
Comment 1 Roan Kattouw 2008-03-26 12:24:10 UTC

*** This bug has been marked as a duplicate of bug 13460 ***
Comment 2 Gurch 2008-03-26 14:23:35 UTC
Reopening. Bug 13460 is listed as fixed in r32279, and indeed trying the example URL on that bug does not return an error. I get this right now on Wikimedia sites with r32394.
Comment 3 Roan Kattouw 2008-03-26 18:09:31 UTC
Different bug, same error message. Fixed in r32476

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