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.

Details

Related Gerrit Patches:

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson added a project: Readers-Web-Backlog.
Jdlrobson moved this task to Triaged but Future on the Readers-Web-Backlog board.
Jdlrobson added a subscriber: Jdlrobson.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 13 2015, 3:41 PM

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?

Florian claimed this task.Apr 13 2015, 7:55 PM

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

Florian closed this task as Resolved.Apr 15 2015, 10:03 PM