Page MenuHomePhabricator

When a newcomer created an account, provide a parameter so that they will be assigned a given mentor
Closed, ResolvedPublic

Description

This was reported by @Dyolf77_WMF.

Context
At workshops, you usually have one mentor who hosts the event. As a new comer, you have a special connection with this person, as they are the one you know, and you are more likely to recontact later.

Current situation

  1. a newcomer creates an account at Wikipedia. They are assigned a random mentor
  2. the workshop host has now to claim this newcomer so that they can follow up with them later

This creates one extra step during the event (usernames collection) and getting a random mentor can be confusing ("who is that person who claims to be my mentor?" "How can I have the host as a mentor?")

Preferred situation

  1. before the event, the host creates a link to special:CreateAccount with a special parameter that will force them as the mentor of anyone who uses this link
  2. during the event, a newcomer creates an account at Wikipedia using this link. They are assigned the selected mentor.

Observations

  • The parameter could be something like special:CreateAccount?forceMentor=Trizek
  • in some cases, several mentors can host the workshop. Could it be possible to have multiple names as a parameter? special:CreateAccount?forceMentor=Trizek,Dyolf77
  • There is one possible case of abuse, where someone would edit the link on a global page (help page, event page), and force a mentor to receive all newcomers.

Acceptance criteria

  • When ?forceMentor=User A is passed to Special:CreateAccount and User A is a mentor (automatic or manual), User A is assigned to the newly-created user.
  • Behavior of forceMentor is analogical to the previous point when more than 1 username is specified (format: ?forceMentor=User 1|...|User N), ie. one of the users is assigned to the newly-created user.
  • Document how this feature works.

Event Timeline

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

[mediawiki/extensions/GrowthExperiments@master] SpecialCreateAccount: Make it possible to force mentor via ?forceMentor

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

@Urbanecm_WMF, if I remember correctly, you told me that only one username can be forced as mentor. Has this changed?

@Urbanecm_WMF, if I remember correctly, you told me that only one username can be forced as mentor. Has this changed?

Each user can have at most one mentor at the same time (in other words, you can't have more than one mentor). The parameter will work in the following way:

  1. A newcomer goes to ie. https://en.wikipedia.org/wiki/Special:CreateAccount?forceMentor=Trizek|Martin_Urbanec
  2. They finish the account creation workflow.
  3. They go to Special:Homepage and either Trizek or Martin Urbanec will be their mentor.

In other words: One of the users listed in the forceMentor parameter will be guaranteed to be the user's mentor (assuming all of them are listed in the mentor list and are not away). If I remember the discussions about this ticket, this is what we ended with, so I went with that approach when implementing.

That said, a link like https://en.wikipedia.org/wiki/Special:CreateAccount?forceMentor=Trizek will always use Trizek as the mentor.

Hope this helps!

Is there a rough estimation of when this will be available?

Is there a rough estimation of when this will be available?

The patch needs some work, so the earliest it would be in group2 wikis would be February 2.

Change 865685 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] SpecialCreateAccount: Make it possible to force mentor via ?forceMentor

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

Is there a rough estimation of when this will be available?

The patch needs some work, so the earliest it would be in group2 wikis would be February 2.

FYI: The patch was merged, and it will indeed ride the February 02 train.

@Trizek-WMF - What is the communication plan around this task?
Should I pass along details to the Campaigns team and Community Programs?

Regarding communities, I think we should go with an announcement on Tech News when documentation will be ready.

And I think we should schedule a presentation of all mentoring features to the Campaigns team and Community Programs.

Etonkovidova subscribed.

Checked in testwiki wmf.24 (and betalabs) - works as expected.