Last modified: 2014-05-20 18:14:17 UTC
go to http://en.wikipedia.beta.wmflabs.org/w/api.php error is PHP fatal error in /srv/common-local/php-master/includes/api/ApiQueryBase.php line 43: Argument 1 passed to ApiQueryBase::__construct() must be an instance of ApiQuery, instance of ApiMain given, called in /srv/common-local/php-master/extensions/SiteMatrix/SiteMatrixApi.php on line 15 and defined
Reassigning to SiteMatrix, although I'll probably submit a patch for it myself in a few minutes.
Confirmed the bug is in SiteMatrix: ApiQuerySiteMatrix should not be extending ApiQueryBase if it's going to register itself in $wgAPIModules.
Change 134390 had a related patch set uploaded by Anomie: $wgAPIModules should extend ApiBase, not ApiQueryBase https://gerrit.wikimedia.org/r/134390
Presumably triggered as of change Ie6bf19150f1c9b619655a06a8e.
Change 134390 merged by jenkins-bot: $wgAPIModules should extend ApiBase, not ApiQueryBase https://gerrit.wikimedia.org/r/134390
Should be in Labs momentarily. No need for a backport because Ie6bf1915 hasn't been deployed anywhere yet.