Florianschmidtwelzow has uploaded a new change for review. https://gerrit.wikimedia.org/r/203894
Change subject: Login messages: Add support for MobileFrontend loginpage ...................................................................... Login messages: Add support for MobileFrontend loginpage Depends on: I6143b4393946a2531b25d58b319f83483dcfb83e Bug: T95903 Change-Id: I3e36f0386eff68720bd659c77158a9a6a1a738a8 --- M includes/Gather.hooks.php 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather refs/changes/94/203894/1 diff --git a/includes/Gather.hooks.php b/includes/Gather.hooks.php index 119e5cb..bd694ac 100644 --- a/includes/Gather.hooks.php +++ b/includes/Gather.hooks.php @@ -190,6 +190,9 @@ * @param array $messages Array of valid messages, already added */ public static function onLoginFormValidErrorMessages( &$messages ) { + // support for both, mobile and desktop, remove the key "Gather", + // when mobile uses desktop login page + $messages['Gather'] = 'gather-loginpage-desc'; $messages[] = 'gather-anon-view-lists'; } } -- To view, visit https://gerrit.wikimedia.org/r/203894 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3e36f0386eff68720bd659c77158a9a6a1a738a8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Gather Gerrit-Branch: master Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.wel...@t-online.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits