In T345940: Section-level "add an image" task: Scale to all Wikipedias that have the Article-level "add an image" task, Growth-Team wants to deploy section image recommendations for all Wikipedias where article-level recommendation is enabled. During pre-deployment investigation (T345940#9176173), we discovered that Vietnamese Wikipedia has no section recommendation images: the search query yields zero results. Why is that?
During follow-up investigation, we discovered this happens for some other wikis as well. Complete data (as visible to GrowthExperiments) are available at https://docs.google.com/spreadsheets/d/1Q0zHAS1Duq41MYPUPOSJwkZYVOX8y_ZJZ9Wd9knZjbA/edit#gid=0 (both section and article-level recommendations). I generated the spreadsheet via this bash sequence:
urbanecm@wmf3345 tmp % get_section_tasks() { curl -s "https://$1/w/api.php?action=query&format=json&list=search&formatversion=2&srsearch=hasrecommendation%3Aimage_section%20-hasrecommendation%3Aimage" | jq .query.searchinfo.totalhits | tr -d '\n' } urbanecm@wmf3345 tmp % get_article_tasks() { function> curl -s "https://$1/w/api.php?action=query&format=json&list=search&formatversion=2&srsearch=hasrecommendation%3Aimage" | jq .query.searchinfo.totalhits | tr -d '\n' function> } urbanecm@wmf3345 tmp % while read wiki; do echo -en "$wiki\t"; get_section_tasks $wiki; echo -en "\t"; get_article_tasks $wiki; echo; done < wikis.txt | tee all-wiki-results.txt [...] urbanecm@wmf3345 tmp %
Why is this happening? Can we add suggestions to the missing wikis in some way? For now (September 2023), this is most important for the Vietnamese Wikipedia, since that is one of the first wikis Growth intends (intended?) to deploy section recommendations to.
Acceptance Criteria
- More Wikipedia versions have section level image recommendations (similar coverage to what per-article image recommendation has)