Page MenuHomePhabricator

[structured mentor list] Make it possible to edit mentor's status in action=growthmanagementorlist
Closed, ResolvedPublic

Description

With T310292: Allow admins to forcibly set a mentor's status, we allowed admins to set mentors' away status via Special:ManageMentors. We, however, did not add any API that would have the same capability.

Per @Trizek-WMF, ruwiki wants to be able to mark mentors as away via a bot/script. To make that possible, let's expand action=growthmanagementorlist to have that capability.

Acceptance criteria
  • Admins are able to set away status via action=growthmanagementorlist API (ie. Special:ManageMentors's "Edit" button and API have equal capabilities)

Event Timeline

Fairly trivial community request => High.

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

[mediawiki/extensions/GrowthExperiments@master] ApiManageMentorList: Make it possible to edit mentor status

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

Urbanecm_WMF changed the task status from Open to In Progress.Oct 25 2022, 9:52 PM

Change 848469 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] ApiManageMentorList: Make it possible to edit mentor status

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

Urbanecm_WMF changed the task status from In Progress to Open.Oct 26 2022, 3:43 PM
Urbanecm_WMF moved this task from Code Review to QA on the Growth-Team (Sprint 0 (Growth Team)) board.
Etonkovidova subscribed.

Checked on enwiki betalabs - works as expected.

Tested in testwiki wmf.8, no issues found.

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

[mediawiki/extensions/GrowthExperiments@master] [i18n] Add missing documentation for action=growthmanagementorlist API

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

Change 936091 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] [i18n] Add missing documentation for action=growthmanagementorlist API

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