Page MenuHomePhabricator

MentorStatusManager: Automatically away users are marked as away until TODAY
Closed, ResolvedPublic

Description

In T325087#8465636, @Tgr noted that:

This will display as "Your primary mentor, FooBar, is currently away until <right now>." which seems confusing. The same is true for blocks as well.

We should address this by removing the end date for (b)locked users (it's impossible when the block will be lifted, if it will be at all). The phrasing might be "is unavailable" rather than "is away", as previously discussed for protected talk pages issue.

Acceptance criteria
  • When a newcomer's mentor is blocked or locked, they see "Mentor XYZ is temporarily unavailable" while asking a question (without any mention of an end date).

Event Timeline

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

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

[mediawiki/extensions/GrowthExperiments@master] AskHelpPanel: When mentor is away indefinitely, do not include "back at" day

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

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

[mediawiki/extensions/GrowthExperiments@master] MentorStatusManager: Return an accurate back at timestamp

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

Urbanecm_WMF triaged this task as Medium priority.

Change 868153 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] AskHelpPanel: When mentor is away indefinitely, do not include "back at" day

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

Change 868154 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] MentorStatusManager: Return an accurate back at timestamp

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