Extension:RedirectOnLogin

This little extension allow you, when an user login successfully, to redirect him directly to a page of your choice instead of the usual "you are now logged in" page.

Compatibility
This was created for MW 1.12.0 and is currently untested on others (please update this page when you try it on other versions), but it should work fine as long as the 'UserLoginComplete' hook (1.4+) and $wgOut->redirect exists.


 * Tested on
 * 1.12.0
 * 1.13.1
 * 1.14

Extension code
Create a page at "extensions/redirectOnLogin.php" with the following content

Similiar extensions

 * RedirectAfterLogout
 * RedirectOnAccountCreation