Extension:Redirect

From MediaWiki.org

Jump to: navigation, search

             

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
Redirect

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

Subversion [Help]
Browse source code

Extension (Results)
1.13.5 1.14.0 trunk
r45625
MediaWiki 1.13. - - -
1.14.0 - - -
trunk - - Yes
Configure Supported from 1.15.
MediaWiki Testing

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.

[edit] Credits

This extension is based on the extensions RedirectOnAccountCreation and RedirectAfterLogout by Marcel Minke, aiming to combine and improve them.