Last modified: 2010-05-15 16:03:01 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 T15469, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13469 - Generators broken in 1.13alpha (r32246)
Generators broken in 1.13alpha (r32246)
Status: RESOLVED DUPLICATE of bug 13465
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.13.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-21 14:08 UTC by Russell Blau
Modified: 2010-05-15 16:03 UTC (History)
1 user (show)

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


Attachments

Description Russell Blau 2008-03-21 14:08:01 UTC
It appears that a recent software update has broken some, if not all, generator queries.

http://en.wikipedia.org/w/api.php?action=query&generator=allpages&gaplimit=3&gapfrom=Ba&prop=links|categories returns this:

<?xml version="1.0" encoding="utf-8"?>
<api>
  <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, 'ApiQueryAllpage...', Array)
#2 /usr/local/apache/common-local/php-1.5/includes/api/ApiQueryAllpages.php(130): ApiQueryBase->select('ApiQueryAllpage...')
#3 /usr/local/apache/common-local/php-1.5/includes/api/ApiQueryAllpages.php(50): ApiQueryAllpages->run(Object(ApiPageSet))
#4 /usr/local/apache/common-local/php-1.5/includes/api/ApiQuery.php(382): ApiQueryAllpages->executeGenerator(Object(ApiPageSet))
#5 /usr/local/apache/common-local/php-1.5/includes/api/ApiQuery.php(193): ApiQuery->executeGeneratorModule('allpages', Array)
#6 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(356): ApiQuery->execute()
#7 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(224): ApiMain->executeAction()
#8 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(209): ApiMain->executeActionWithErrorHandling()
#9 /usr/local/apache/common-local/php-1.5/api.php(77): ApiMain->execute()
#10 /usr/local/apache/common-local/live-1.5/api.php(3): require('/usr/local/apac...')
#11 {main}

</error>
</api>

Also, http://en.wikipedia.org/w/api.php?action=query&generator=backlinks&gbllimit=5&prop=info&gbltitle=America&gblnamespace=0 gives a very similar error dump:

<?xml version="1.0" encoding="utf-8"?>
<api>
  <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, 'ApiQueryBacklin...', Array)
#2 /usr/local/apache/common-local/php-1.5/includes/api/ApiQueryBacklinks.php(172): ApiQueryBase->select('ApiQueryBacklin...')
#3 /usr/local/apache/common-local/php-1.5/includes/api/ApiQueryBacklinks.php(94): ApiQueryBacklinks->run(Object(ApiPageSet))
#4 /usr/local/apache/common-local/php-1.5/includes/api/ApiQuery.php(382): ApiQueryBacklinks->executeGenerator(Object(ApiPageSet))
#5 /usr/local/apache/common-local/php-1.5/includes/api/ApiQuery.php(193): ApiQuery->executeGeneratorModule('backlinks', Array)
#6 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(356): ApiQuery->execute()
#7 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(224): ApiMain->executeAction()
#8 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(209): ApiMain->executeActionWithErrorHandling()
#9 /usr/local/apache/common-local/php-1.5/api.php(77): ApiMain->execute()
#10 /usr/local/apache/common-local/live-1.5/api.php(3): require('/usr/local/apac...')
#11 {main}

</error>
</api>

However, http://en.wikipedia.org/w/api.php?action=query&generator=backlinks&gbllimit=5&prop=info&gbltitle=America (without the gblnamepsace=0 parameter) still works, and some other generators also work.
Comment 1 Bryan Tong Minh 2008-03-21 14:27:46 UTC

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

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


Navigation
Links