Page MenuHomePhabricator

Section-level "add an image" task: Scale to all Wikipedias that have the Article-level "add an image" task
Closed, ResolvedPublic

Description

User story & summary:

As a new editor, I want access to more structured tasks, because then I will continue to deepen my involvement in the wikis.

As the Growth team Product Manager, I want to ensure we have enough section-level image data to have statistically significant findings when we complete analysis. T332344: Section-Level Images: leading indicators

As the Growth team Product Manager, I want newcomers to have access to a variety of structured tasks, because that will better help new account holders getting started on the wikis.

Background & research:
  • The Growth team has tested the section-level "add an image" task on pilot wikis for several months now, and initial task analysis has been shown it to be a stable and successful feature.
  • This task is important because readers find articles with images more engaging. https://arxiv.org/abs/2112.01868
  • This task should help simplify "add an image" deployment tracking so that all Wikis that have article-level image suggestions also have the section-level image task.
Acceptance Criteria:

Given I'm a logged in user with the Growth homepage enabled,
When I visit my suggested edits preferences (Select types of edits),
Then the I have access to both the article-level and section-level "add an image" task

  • Once this task is picked up, please coordinate with Growth's CRS on a deployment date
  • Release the Section-level "add an image" task to all Wikipedias that already have the Article-level "add an image" task

Event Timeline

During the planning meeting, I asked whether we have section-level data for all wikis where we have Add Image enabled. The answer was "we need to find that out", so I checked and here are the counts:

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 % for wiki in ar.wikipedia.org bn.wikipedia.org cs.wikipedia.org el.wikipedia.org es.wikipedia.org fa.wikipedia.org fr.wikipedia.org id.wikipedia.org pl.wikipedia.org pt.wikipedia.org ro.wikipedia.org tr.wikipedia.org vi.wikipedia.org zh.wikipedia.org; do echo -en "$wiki\t"; get_section_tasks $wiki; echo; done
ar.wikipedia.org	17878
bn.wikipedia.org	4507
cs.wikipedia.org	20460
el.wikipedia.org	10523
es.wikipedia.org	49535
fa.wikipedia.org	9615
fr.wikipedia.org	49084
id.wikipedia.org	11274
pl.wikipedia.org	28814
pt.wikipedia.org	20615
ro.wikipedia.org	8324
tr.wikipedia.org	12527
vi.wikipedia.org	0
zh.wikipedia.org	20355
urbanecm@wmf3345 tmp %

It seems we have section-level data for most wikis, except vi.wikipedia, which has zero section-level recommendations.

Per @KStoller-WMF, we will deploy excluding viwiki, pending investigation on why viwiki's recommendation count is zero. Filled T346682: Generate section image recommendations for Vietnamese Wikipedia and other wikis to resolve the zero recommendations issue.

Change 960545 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] growth: Enable section-image recommendations on 10 new wikis

https://gerrit.wikimedia.org/r/960545

This is ready now from engineering standpoint. @Trizek-WMF @KStoller-WMF When do you want to get this deployed?

@Trizek-WMF - I'll let you define the release date based on what level of community update/conversation is needed. I simply suggest earlier in the week (a Monday or Tuesday) so there is plenty of time to address any questions or concerns before the weekend.

As the wikis we target already have Add an image at the article level, this change wouldn't be a big difference for them. I think we can just go with an announcement in Tech News.

Can we deploy on Monday, next week (the 9th)?

As the wikis we target already have Add an image at the article level, this change wouldn't be a big difference for them. I think we can just go with an announcement in Tech News.

Ack, sounds good to me.

Can we deploy on Monday, next week (the 9th)?

Unfortunately, we can't do that, as Oct 09 is a US federal holiday. Would the next day (Tuesday, Oct 10) work for you?

Sure! Thank you for spotting it.

Change 960545 merged by jenkins-bot:

[operations/mediawiki-config@master] growth: Enable section-image recommendations on 10 new wikis

https://gerrit.wikimedia.org/r/960545

Mentioned in SAL (#wikimedia-operations) [2023-10-10T13:07:18Z] <urbanecm@deploy2002> Started scap: Backport for [[gerrit:960545|growth: Enable section-image recommendations on 10 new wikis (T345940)]]

Mentioned in SAL (#wikimedia-operations) [2023-10-10T13:08:38Z] <urbanecm@deploy2002> urbanecm: Backport for [[gerrit:960545|growth: Enable section-image recommendations on 10 new wikis (T345940)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2023-10-10T13:17:17Z] <urbanecm@deploy2002> Finished scap: Backport for [[gerrit:960545|growth: Enable section-image recommendations on 10 new wikis (T345940)]] (duration: 09m 59s)

Etonkovidova subscribed.

Checked all wikis with enabled Section-level image suggestions - all works as expected, see the notes below