Extension:Redirect
From MediaWiki.org
|
Release status: stable |
||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Implementation | Hook | |||||||||||||||||||||||||||||||
| Description | Allows easy configuration of redirects on account creation and logout | |||||||||||||||||||||||||||||||
| Author(s) | Siebrand Mazeland, Marcel Minke. | |||||||||||||||||||||||||||||||
| Last Version | 1.0 (2009-01-10) | |||||||||||||||||||||||||||||||
| MediaWiki | 1.14 or newer | |||||||||||||||||||||||||||||||
| License | CC-BY 3.0 Unported | |||||||||||||||||||||||||||||||
| Download | Download snapshot |
|||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
|
check usage (experimental) |
||||||||||||||||||||||||||||||||
Contents |
[edit] Description
On account creation and logout, users are presented with a page. The default target can be changed using this extension, for example to better work with NewUserMessage redirecting account creations to Special:Mytalk, by redirecting to Special:UserLogin on logout, or any other use the authors of this extension have not thought of.
[edit] Installation
- Download the extension
- Place the files in ./extensions/Redirect/
- Add the following line to your LocalSettings.php
require_once( "$IP/extensions/Redirect/Redirect.php" );
This extension is supported by Configure.
[edit] In-wiki configuration
Text on configuration pages should not contain mark-up. Contents of "Main Page" would redirect to Main Page. If the configuration page does not exist, if the configuration page is empty, or if the redirect target does not exist, behaviour will not be changed.
- Account creation target: MediaWiki:Redirect-addnewaccount
- Logout target: MediaWiki:Redirect-userlogoutcomplete
[edit] Credits
This extension is based on the extensions RedirectOnAccountCreation and RedirectAfterLogout by Marcel Minke, aiming to combine and improve them.