Page MenuHomePhabricator

Documentation: Create and link to https://www.mediawiki.org/wiki/Help:Extension:EmailAuth
Open, Needs TriagePublic

Description

Summary

Currently there is no user-facing documentation about the email auth verification code. In this task, let's create a public facing help page (mw:Help:Extension:EmailAuth) and link to it from the verification code input page.

Background

Users may need additional context to understand the verification code workflow, or know how to find help if the code does not work, or if they no longer have access to their email.

User story

As a user logging in, I want a link to a help page if I get stuck at the verification code step.

Technical notes

Update the auth form change hook to include a link to mw:Help:Extension:EmailAuth

Acceptance criteria

  • mw:Help:Extension:EmailAuth exists and has instructions to help with 1) token not working or 2) no longer have access to my email address
  • Token input form links to mw:Help:Extension:EmailAuth

Details

Related Changes in Gerrit:

Event Timeline

Naming note: Per https://www.mediawiki.org/wiki/Special:MyLanguage/Best_practices_for_extensions#Documentation, I believe that the standard practice for titling the extension’s help page would be [[Help:Extension:EmailAuth]] rather than [[Help:EmailAuth]], though I am happy to be corrected!

Aklapper renamed this task from Documentation: Create and link to https://www.mediawiki.org/wiki/Help:EmailAuth to Documentation: Create and link to https://www.mediawiki.org/wiki/Help:Extension:EmailAuth.Apr 1 2025, 12:34 PM
Aklapper updated the task description. (Show Details)

Not sure there's much to document TBH. What help would be useful on how to copy a word from an email to a web form?

I guess we could document session timeouts, although it would be better to just make the email say "this code will be valid for XXX minutes".

Tgr claimed this task.

Change #1139155 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/extensions/EmailAuth@master] Add link to help page in email text and form text

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

Change #1139155 merged by jenkins-bot:

[mediawiki/extensions/EmailAuth@master] Improve email contents

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

  • Token input form links to mw:Help:Extension:EmailAuth

It seems like we forgot this. The email does link there, but the user might not be able to see the email, so probably the form should have a link as well.

  • Token input form links to mw:Help:Extension:EmailAuth

It seems like we forgot this. The email does link there, but the user might not be able to see the email, so probably the form should have a link as well.

It looks like the default form already includes a link (added in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/EmailAuth/+/1139155). Is what's remaining here to add it to the WikimediaMessages override string as well?

Sorry for the confusion here as a result of T399749. I'm not sure merging the pages makes sense, since the audiences are probably slightly different: The Meta page is for immediate help getting back into an account (and is Wikimedia-specific) while the MW page is more about the extension itself.

Perhaps we could include both? Something like...

If you are having trouble receiving the code, [https://meta.wikimedia.org/wiki/Special:MyLanguage/Help:Account_recovery follow these instructions]. [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Extension:EmailAuth Learn more about email authentication].

Maybe that's too busy?

In any case we should ensure the information is consistent, I see that the MW page directs people to https://meta.wikimedia.org/wiki/Help:Compromised_accounts when perhaps it should link them to https://meta.wikimedia.org/wiki/Help:Account recovery (and then we can have a hatnote on the latter page to catch any strays).