Last modified: 2010-05-15 16:03: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.
*** This bug has been marked as a duplicate of bug 13465 ***