Steps to replicate the issue (include links if applicable):
What happens?:
- An error occurred while loading the interface from the API. Please try reloading the page.
- https://test.wikipedia.beta.wmflabs.org/w/api.php?action=pagetriagelist&format=json&namespace=0&showunreviewed=1&showothers=1&formatversion=2&offset=0&pageoffset=0
returns
{ "error": { "code": "internal_api_error_InvalidArgumentException", "info": "[ZTfS3q58IA6sSvugq-vbKAAAABY] Exception caught: No model available for [articlequality]", "errorclass": "InvalidArgumentException", "trace": "InvalidArgumentException at /srv/mediawiki/php-master/extensions/ORES/includes/Storage/SqlModelLookup.php(42)\nfrom /srv/mediawiki/php-master/extensions/ORES/includes/Storage/SqlModelLookup.php(42)\n#0 /srv/mediawiki/php-master/extensions/ORES/includes/Services/PopulatedSqlModelLookup.php(114): ORES\\Storage\\SqlModelLookup->getModelId(string)\n#1 /srv/mediawiki/php-master/extensions/PageTriage/includes/OresMetadata.php(218): ORES\\Services\\PopulatedSqlModelLookup->getModelId(string)\n#2 /srv/mediawiki/php-master/extensions/PageTriage/includes/OresMetadata.php(181): MediaWiki\\Extension\\PageTriage\\OresMetadata->getORESScores(string, array)\n#3 /srv/mediawiki/php-master/extensions/PageTriage/includes/OresMetadata.php(96): MediaWiki\\Extension\\PageTriage\\OresMetadata->fetchScores(array)\n#4 /srv/mediawiki/php-master/extensions/PageTriage/includes/OresMetadata.php(110): MediaWiki\\Extension\\PageTriage\\OresMetadata->__construct(ORES\\Storage\\ThresholdLookup, ORES\\Services\\PopulatedSqlModelLookup, array, DerivativeContext, array)\n#5 /srv/mediawiki/php-master/extensions/PageTriage/includes/Api/ApiPageTriageList.php(87): MediaWiki\\Extension\\PageTriage\\OresMetadata::newFromGlobalState(DerivativeContext, array)\n#6 /srv/mediawiki/php-master/includes/api/ApiMain.php(1931): MediaWiki\\Extension\\PageTriage\\Api\\ApiPageTriageList->execute()\n#7 /srv/mediawiki/php-master/includes/api/ApiMain.php(908): ApiMain->executeAction()\n#8 /srv/mediawiki/php-master/includes/api/ApiMain.php(879): ApiMain->executeActionWithErrorHandling()\n#9 /srv/mediawiki/php-master/api.php(95): ApiMain->execute()\n#10 /srv/mediawiki/php-master/api.php(48): wfApiMain()\n#11 /srv/mediawiki/w/api.php(3): require(string)\n#12 {main}" }, "servedby": "deployment-mediawiki11" }
What should have happened instead?:
- no "An error occurred while loading the interface from the API. Please try reloading the page." message
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
- Reported by @jsn.sherman at T331595#9276429