Page MenuHomePhabricator

Make edit summary readable for MediaWiki:GrowthMentors.json
Closed, ResolvedPublicFeature

Description

Feature summary (what you would like to be able to do and where):
Now, according to the history of edits, it is completely unclear what is happening with the list of mentors. Who left, who changed the message, who changed the weight. Because of this, the meaning of the history is lost.

https://ru.wikipedia.org/w/index.php?title=MediaWiki:GrowthMentors.json&action=history

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Go to https://ru.wikipedia.org/w/index.php?title=MediaWiki:GrowthMentors.json&action=history
Try to find who change their "automaticallyAssigned" status.

Benefits (why should this be implemented?):
More useful history, no need to go through every edit to figure out what happened.

Desired edit summaries

ActionDesired summaryCurrent summary
EnrollingAdding myself as a mentorSame as desired
Mentor changes mentorship propertiesChanging my mentorship options(none)
Removing a mentorRemoving ABC as a mentor: REASONREASON
Admin changes mentorship propertiesChanging ABC's mentorship options: REASONREASON

Event Timeline

Iniquity renamed this task from Make edit summary translatable and readable for MediaWiki:GrowthMentors.json to Make edit summary readable for MediaWiki:GrowthMentors.json.Nov 1 2022, 9:45 AM
Iniquity updated the task description. (Show Details)

Thanks again for the feedback @Iniquity! To me, this looks like we should improve edit summaries. Here is a list of common operations, and proposed summaries -- let me know what you think.

ActionDesired summaryCurrent summary
EnrollingAdding myself as a mentorSame as desired
Mentor changes mentorship propertiesChanging my mentorship options(none)
Removing a mentorRemoving ABC as a mentor: REASONREASON
Admin changes mentorship propertiesChanging ABC's mentorship options: REASONREASON

@Iniquity Do you think that "Mentor changes mentorship properties" and "Admin changes mentorship properties" need to be broken down to changes of message/weight/status? Or would only what is in the table now be helpful?

Urbanecm_WMF moved this task from Inbox to Needs Discussion on the Growth-Team board.

Moving to Needs Discussion (copies for the summaries, as well as whether "Mentor/admin changes mentorship properties" need to be broken down to individual changes needs to be decided).

Thanks again for the feedback @Iniquity! To me, this looks like we should improve edit summaries. Here is a list of common operations, and proposed summaries -- let me know what you think.

ActionDesired summaryCurrent summary
EnrollingAdding myself as a mentorSame as desired
Mentor changes mentorship propertiesChanging my mentorship options(none)
Removing a mentorRemoving ABC as a mentor: REASONREASON
Admin changes mentorship propertiesChanging ABC's mentorship options: REASONREASON

Is it possible to add gender support to these messages?

@Iniquity Do you think that "Mentor changes mentorship properties" and "Admin changes mentorship properties" need to be broken down to changes of message/weight/status? Or would only what is in the table now be helpful?

I think yes, it would be useful to show more fully: "Changing my mentorship options - weight: 2->3; automaticallyAssigned: true->false; welcome message was edited". And I think we need to add separate lines for self-deletion and admin-deletion.

kostajh subscribed.

Moving to Needs Discussion (copies for the summaries, as well as whether "Mentor/admin changes mentorship properties" need to be broken down to individual changes needs to be decided).

Moving to Triaged, as we haven't had any movement on this task in two months. @Urbanecm_WMF your proposals look good to me, if you want to move forward with implementing, please feel free.

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

[mediawiki/extensions/GrowthExperiments@master] Mentorship: Add meaningful comment summaries to GrowthMentors.json changes

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

Urbanecm_WMF changed the task status from Open to In Progress.Aug 7 2023, 11:00 AM

Change 946526 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Structured mentor list: Use meaningful edit summaries

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

Urbanecm_WMF changed the task status from In Progress to Open.Sep 13 2023, 7:42 PM
Urbanecm_WMF moved this task from Code Review to QA on the Growth-Team (Sprint 0 (Growth Team)) board.

Desired edit summaries

ActionDesired summaryBefore the fix summarySummary displayed in wmf.27
EnrollingAdding myself as a mentorSame as desiredAdding myself as a mentor Tag: mentor list change
Mentor changes mentorship propertiesChanging my mentorship options(none)Changing my mentorship options Tag: mentor list change Note the history records change in mentor's Status, Number of mentees assigned to me, and Message to your mentees. Other changes - changes in Send praise are not recorded MediaWiki:GrowthMentors.json history
Removing a mentorRemoving ABC as a mentor: REASONREASONRemoving [user] as a mentor
Admin changes mentorship propertiesChanging ABC's mentorship options: REASONREASONChanging [user's] mentorship options Note: the message is generic; changing Away status is not recorded in the history.

@Urbanecm_WMF - to summarize the current state of added summaries in MediaWiki:GrowthMentors.json

  • "Changing my mentorship options"
    • Send praise changes are not recorded
    • the message Changing my mentorship options Tag: mentor list change doesn't indicate which options are changed, although it does indicate that a mentor changed the setting, not an admin
  • "Changing ABC's mentorship options: "
    • as the previous message ("Changing my mentorship options") it's generic
    • changes in Away status done by Admin are not recorded