Bad value for parameter $taskType: must be a GrowthExperiments\NewcomerTasks\TaskType\ImageRecommendationBaseTaskType from /srv/mediawiki/php-1.41.0-wmf.9/vendor/wikimedia/assert/src/Assert.php(105) #0 /srv/mediawiki/php-1.41.0-wmf.9/extensions/GrowthExperiments/includes/Api/ApiQueryImageSuggestionData.php(74): Wikimedia\Assert\Assert::parameterType(array, NULL, string) #1 /srv/mediawiki/php-1.41.0-wmf.9/includes/api/ApiQuery.php(688): GrowthExperiments\Api\ApiQueryImageSuggestionData->execute() #2 /srv/mediawiki/php-1.41.0-wmf.9/includes/api/ApiMain.php(1914): ApiQuery->execute() #3 /srv/mediawiki/php-1.41.0-wmf.9/includes/api/ApiMain.php(890): ApiMain->executeAction() #4 /srv/mediawiki/php-1.41.0-wmf.9/includes/api/ApiMain.php(861): ApiMain->executeActionWithErrorHandling() #5 /srv/mediawiki/php-1.41.0-wmf.9/api.php(93): ApiMain->execute() #6 /srv/mediawiki/php-1.41.0-wmf.9/api.php(48): wfApiMain() #7 /srv/mediawiki/w/api.php(3): require(string) #8 {main}
Caused by T335641: Use the prop=growthimagesuggestiondata API as an image recommendation source. Happens on URLs like
https://cs.wikipedia.org/w/api.php?action=query&prop=growthimagesuggestiondata&titles=MusicBrainz&gisdtasktype=section-image-recommendation&format=json&formatversion=2&errorformat=wikitext&errorlang=en