During the investigation of T377783: [cswiki betalabs] Structured tasks do not load editing surface , I noticed a significant proportion of Add Image tasks in cswiki beta are invalid, as cswiki production no longer has suggestion data for the corresponding production article. This issue happens, because Beta does not have its own source of Add Image tasks. Instead, it reuses production data, because the actual Add Image service cannot be used from outside of production (and even if it could be, it would still provide data about production wikis, not beta articles).
To make testing and QA easier, we should refresh the set of Add Image tasks at cswiki beta. This needs to be done via the extensions/CirrusSearch/maintenance/UpdateWeightedTags.php maintenance script, manually specifying which articles should be removed from the index and which articles should be added. We can either remove all articles and generate a fresh set of articles from production, or somehow attempt to remove only the broken suggestions.
We should also consider doing this change for any other beta wiki where we regularly need Add Image to work, but given this is quite a lot of manual work, we should strive to keep the set of wikis to the bare minimum. For now, filling this task as cswiki beta specific.