Page MenuHomePhorge

ApiSandbox action=query is broken
Closed, ResolvedPublic

Description

Go to Special:ApiSandbox
Select main; choose action=query (combo box)
Select action=query; error message is

An error occurred while loading information for API module "query": [04c7e634f5468f8018776acc] Exception caught: syntax error, unexpected '$user' (T_VARIABLE), expecting ']'

api.php has the following additional info:

ParseError at /var/www/live/w/extensions/MultiLookup/ApiQueryMultiLookup.php(50)
#0 [internal function]: AutoLoader::autoload(string)
#1 [internal function]: spl_autoload_call(string)
#2 /var/www/live/w/includes/api/ApiPageSet.php(1509): is_subclass_of(string, string)
#3 /var/www/live/w/includes/api/ApiPageSet.php(1468): ApiPageSet->getGenerators()
#4 /var/www/live/w/includes/api/ApiBase.php(2348): ApiPageSet->getAllowedParams(integer)
#5 /var/www/live/w/includes/api/ApiQuery.php(499): ApiBase->getFinalParams(integer)
#6 /var/www/live/w/includes/api/ApiBase.php(2348): ApiQuery->getAllowedParams(integer)
#7 /var/www/live/w/includes/api/ApiHelp.php(433): ApiBase->getFinalParams(integer)
#8 /var/www/live/w/includes/api/ApiHelp.php(165): ApiHelp::getHelpInternal(DerivativeContext, array, array, array)
#9 /var/www/live/w/includes/api/ApiHelp.php(52): ApiHelp::getHelp(DerivativeContext, array, array)
#10 /var/www/live/w/includes/api/ApiMain.php(1598): ApiHelp->execute()
#11 /var/www/live/w/includes/api/ApiMain.php(537): ApiMain->executeAction()
#12 /var/www/live/w/includes/api/ApiMain.php(508): ApiMain->executeActionWithErrorHandling()
#13 /var/www/live/w/api.php(87): ApiMain->execute()
#14 {main}

I tried random other API modules (not all of them) and found no errors in them. It appears to be just "query."

Event Timeline

lewiscawte claimed this task.
lewiscawte added a subscriber: lewiscawte.

I believe this should be fixed?

It does appear to be fixed. Thx