Page MenuHomePhabricator

Section-Level Images: quality gate
Closed, ResolvedPublic

Description

User story & summary:

As a patroller or experienced editor, I want newcomers to have guardrails that keep them from completing too many "add an image" tasks per day, because I want to ensure the "add an image" patrolling burden in reasonable.

Background & research:
  • Growth pilot ambassadors agree that the section-level image task needs a community configurable "quality gate". They suggest keeping the default the same as for the article-level "add an image" task.
  • Communities and individual users are unlikely to really differentiate between the two "add an image" tasks, however they will be different tasks and can be configured separately. Let's keep the same baseline for section-level images as we use for article-level images: 25. That technically means a newcomer could complete 50 of these image recommendations per day, however based on usage data that will rarely happen.
Design & Copy:

The design and business logic should be identical to the article-level quality gate, but with updated copy:

Article-level copy Section-level copy
EditGrowthConfig task nameAdd an image to an unillustrated articleAdd an image to an article section
EditGrowthConfig fieldDestination page for learning more about image recommendation task type.Destination page for learning more about section-level image recommendations.
EditGrowthConfig fieldThe maximum number of "Add an image" suggested tasks a newcomer can complete daily.The maximum number of section-level "Add an image" suggested tasks a newcomer can complete daily.
Quality gate - daily limit post-edit dialogYou have completed all of today's image suggestions. Thank you!You have completed all of today's section-level image suggestions. Thank you!
Quality gate reached with Newcomer homepage openYou have completed all of today's image suggestions. Adjust your difficulty levels to see other types of tasks or come back tomorrow for more image suggestions.You have completed all of today's section-level image suggestions. Adjust your difficulty levels to see other types of tasks or come back tomorrow for more image suggestions.
Acceptance Criteria:

Given I'm a newcomer,
When I'm completing section-level image suggestions,
Then I can complete a max of 25 (or whatever the max is set to in my wiki's Community configuration)

Given I'm an admin or user with rights to edit Community configuration,
When I am adjusting Community configuration for the "Add an image to a section" task,
Then I can add any positive integer to the field related to "The maximum number of "Add an image" suggested tasks a newcomer can complete daily."

Event Timeline

Change 920370 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] [WIP] addsectionimage: Introduce quality gate infrastructure

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

@KStoller-WMF is there copy I should reference for the dialog?

@KStoller-WMF is there copy I should reference for the dialog?

I took a first pass at trying to identify the quality gate text that will need to be updated, and added a "Design & Copy" section to the description. Please let me know what I'm missing.

@JFernandez-WMF
Please review copy and suggest changes here or in the copy doc T335714: Section-level images: finalize copy and QQQ descriptions for TranslateWiki.net. Thanks!

Change 920370 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] addsectionimage: Introduce quality gate infrastructure

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

Change 923423 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/extensions/GrowthExperiments@master] Section images: Make quality gate frontend code consistent

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

Change 923423 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Section images: Make quality gate frontend code consistent

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

This is done, I think?

@Tgr
Special:EditGrowthConfig on betalabs does have Add a suggested section image section, see for example:eswiki betalabs Special:EditGrowthConfig. But the section lacks The maximum number of section-level "Add an image" suggested tasks a newcomer can complete daily. field.

cswiki betalabs seems to have quality gate control, but not explicitly present on Special:EditGrowthConfig, and there is no info to users whenever they've reached the daily limit (the error message is displayed only in Console)

Change 927282 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/extensions/GrowthExperiments@master] Section images: Add community config form field for quality gate

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

Change 927589 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] PostEditPanel: Document additional i18n key

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

there is no info to users whenever they've reached the daily limit (the error message is displayed only in Console)

I think this should work, I suggest we come back to this after T337767: Section-level images: task submission is done.

Change 927282 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Section images: Add community config form field for quality gate

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

Change 927589 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] PostEditPanel: Document additional i18n key

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

Change 928453 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/extensions/GrowthExperiments@master] Section images: Fix quality gate error i18n key

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

Change 928453 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Section images: Fix quality gate error i18n key

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

Change 928480 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/extensions/GrowthExperiments@master] Section images: Fix post-edit quality gate check

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

Change 928480 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Section images: Fix post-edit quality gate check

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

Tested cswiki betalabs only - works as expected.