Background
As part of T264343: Have a special page for mentors to sign up, the Growth team is working on a sign up form for mentors. We decided to create a structured mentor list, MediaWiki:GrowthMentors.json, to serve as the new canonical location for the list of mentors, similar to what community configuration does.
Task objective
Ensure Special:QuitMentorship works correctly when structured mentor list is enabled. Originally, I considered fully removing the special page and switching to a dialog, but I think it'd be easier to just change Special:QuitMentorship's behavior to adapt to the structured list (and think about a dialog in the future, potentially). Keeping the special page working will also ensure any community workflows involving a link to the page will continue to work (if there are any).
Acceptance criteria
- When wgGEMentorProvider is structured (as of 2022-06-30, only in dev environment), the link "How to quit mentoring?" from (i) in Settings module lets mentors to quit