On desktop if a user provides an invalid password (e.g. password) the error message displays via AJAX. On mobile web the error(s) display after submit:
Consider displaying the errors before submission on mobile web.
Developer notes
The resourceloader module mediawiki.special.userlogin.signup.js has not been enabled on mobile domain. It can be seen running on Minerva here: https://en.wikipedia.org/w/index.php?title=Special:CreateAccount&campaign=loginCTA&useskin=minerva
When enabling we'll also want to take the time to add the small functionality inside mobile.special.userlogin.scripts in MobileFrontend to core, so that 2 modules are not loaded and the startup module does not expand in size.
It can be added by making mediawiki.special.userlogin.signup.js load on mobile
Acceptance criteria
- Code in mobile.special.userlogin.scripts inside MobileFrontend has been copied across to mediawiki.special.userlogin.signup.js and scoped to mobile browsers.
- mediawiki.special.userlogin.signup.js runs in mobile (targets is set to 'mobile')
- mobile.special.userlogin.scripts ResourceLoader module removed from MobileFrontend