Page MenuHomePhabricator

Should be possible for other extensions to register custom messages on MobileFrontend login and signup forms
Closed, ResolvedPublic

Description

http://localhost:8888/w/index.php?title=Special:UserLogin&type=signup&returnto=Special%3AWatchlist

shows message:
"A watchlist helps you bookmark pages and keep track of changes to them.
Sign up to start one now."

It should be possible without updating MobileFrontend to customise this message.

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson added a project: Web-Team-Backlog.
Jdlrobson moved this task to Triaged but Future on the Web-Team-Backlog board.
Jdlrobson subscribed.

Hmm, maybe reuse the LoginFormValidErrorMessages hook from LoginForm/Special:UserLogin? I think it wouldn't be a good idea to introduce much new things (like new own hooks), because our goal is to remove this feature :) Opnions?

Change 203893 had a related patch set uploaded (by Florianschmidtwelzow):
Add support for extensions to add custom login messages for mobile login page

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

Change 203894 had a related patch set uploaded (by Florianschmidtwelzow):
Login messages: Add support for MobileFrontend loginpage

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

Change 203893 merged by jenkins-bot:
Add support for extensions to add custom login messages for mobile login page

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

Change 203894 merged by jenkins-bot:
Login messages: Add support for MobileFrontend loginpage

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