Page MenuHomePhabricator

Permission error when attempting to enroll as mentor on Turkish Wikipedia
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Visit the Enroll as Mentor page on Turkish Wikipedia, even if you meet the criteria to become a mentor.
  • Attempt to enroll as a mentor.

What happens?:

Users who meet the criteria to become mentors encounter a permission error when trying to access the Enroll as Mentor page. The error message states:

You do not have permission to enroll as a mentor for the following reason:

You are not allowed to perform this action.

Additionally, users who are already mentors are not redirected to the Mentor Dashboard as expected when they visit the EnrollAsMentor page.

What should have happened instead?:

Users who meet the criteria should be able to enroll as mentors without encountering a permission error. Already enrolled mentors should be redirected to the Special:MentorDashboard when they visit the`Special:EnrollAsMentor` page.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Screenshot 2024-08-04 at 12.17.25 PM.png (2×3 px, 969 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1060119 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/GrowthExperiments@master] fix(i18n): adjust broken mentorship eligibility copy

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

This is caused by misleading wrong copy in the CommunityConfiguration form. See T370318: GEMentorshipAutomaticEligibility description is wrong.

Tl;dr: is that the "Editors who meet all eligibility criteria are automatically enrolled as mentors" checkbox must be checked for people to be allowed to enroll themselves as mentors. The copy is wrong, no-one is automatically enrolled as mentors but editors become automatically eligible to enroll as mentors.

Change #1060119 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] fix(i18n): adjust broken mentorship eligibility copy

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

Change #1060136 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/GrowthExperiments@wmf/1.43.0-wmf.16] fix(i18n): adjust broken mentorship eligibility copy

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

Change #1060139 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/GrowthExperiments@wmf/1.43.0-wmf.17] fix(i18n): adjust broken mentorship eligibility copy

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

Change #1060139 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@wmf/1.43.0-wmf.17] fix(i18n): adjust broken mentorship eligibility copy

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

Change #1060136 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@wmf/1.43.0-wmf.16] fix(i18n): adjust broken mentorship eligibility copy

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

Mentioned in SAL (#wikimedia-operations) [2024-08-06T20:47:48Z] <kindrobot@deploy1003> Started scap sync-world: Backport for [[gerrit:1060152|Promote dark mode for anons on various wikis - take 2 (T371070 T371084)]], [[gerrit:1060123|Enable NetworkSession extension for most wikis (T355267)]], [[gerrit:1060139|fix(i18n): adjust broken mentorship eligibility copy (T371775 T370318)]], [[gerrit:1060136|fix(i18n): adjust broken mentorship eligibility copy (T371775 T370318)]]

Mentioned in SAL (#wikimedia-operations) [2024-08-06T21:21:27Z] <kindrobot@deploy1003> toyofuku, ebernhardson, kindrobot, migr: Backport for [[gerrit:1060152|Promote dark mode for anons on various wikis - take 2 (T371070 T371084)]], [[gerrit:1060123|Enable NetworkSession extension for most wikis (T355267)]], [[gerrit:1060139|fix(i18n): adjust broken mentorship eligibility copy (T371775 T370318)]], [[gerrit:1060136|fix(i18n): adjust broken mentorship eligibility copy (T371775 T37031

Mentioned in SAL (#wikimedia-operations) [2024-08-06T21:34:53Z] <kindrobot@deploy1003> Finished scap: Backport for [[gerrit:1060152|Promote dark mode for anons on various wikis - take 2 (T371070 T371084)]], [[gerrit:1060123|Enable NetworkSession extension for most wikis (T355267)]], [[gerrit:1060139|fix(i18n): adjust broken mentorship eligibility copy (T371775 T370318)]], [[gerrit:1060136|fix(i18n): adjust broken mentorship eligibility copy (T371775 T370318)]] (duration: 47m 05s)

Etonkovidova subscribed.

Checked mentorship functionality on `testwiki wmf.19' for possible regression - all functionality seems to be in place.

  • eligible user are able to enroll as mentors
  • special pages work as expected:ClaimMentee, MentorDashboard, and ManageMentors

Note: the option "Mentorship features are turned on" on Special:CommunityConfiguration/Mentorship can be disabled, but all special pages - EnrollAsMentor, ClaimMentee, MentorDashboard, and ManageMentors - will work as usual without giving any warning of disabled mentorship functionality - filed as T372953