Extension:RedirectAfterLogout

{|Extension code in wiki}}

The RedirectAfterLogout extension is an adaption of the former RedirectOnLogin extension which allows you to redirect a user to a certain wiki page after having logged out.

Compatibility
The extension was created for MW 1.14a. Nevertheless this extension should work fine on all MediaWiki versions which support UserLogout hook and.

Please update this page when you have tested the extension on other versions.


 * Tested on
 * 1.11.0
 * 1.13
 * 1.14
 * 1.17
 * 1.21.1
 * 1.25.2
 * ... (please add other tested versions)

Installation

 * 1) Create a page at "extensions/redirectAfterLogout.php" containing the code
 * 2) Add the following lines to your Localsettings.php file and adapt them: