Redirect on login instead of showing a message
authorAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 8 Sep 2008 21:53:56 +0000 (21:53 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 8 Sep 2008 21:53:56 +0000 (21:53 +0000)
commitc523073ff872a37dc257075e4018b8a63d0e2688
tree27163332246758bde698a5468e16ee866d201b0b
parent7954164c91bf724e13d80c7d99a8fe0b47fc9fc4
Redirect on login instead of showing a message

This saves a click.  A "You have successfully logged in" message adds no extra information, it just gets in the way -- especially if you got to the login page from a permissions error.  The welcome message is still displayed on account creation.

This slightly modifies the semantics of a hook.  It also makes the loginsuccess message unused, so I've deleted it from the maintenance files and also MessagesEn.  I assume it will automatically vanish from the other message files, or at least that there's some tool to remove it that I don't know about that's better than sed.

This was prompted by discussion on bug 15484.
RELEASE-NOTES
docs/hooks.txt
includes/specials/SpecialUserlogin.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc