Open main menu

Extension:Redirect

MediaWiki extensions manual
OOjs UI icon advanced.svg
Redirect
Release status: unmaintained
Implementation Hook
Description Allows easy configuration of redirects on account creation and logout
Author(s) Siebrand Mazeland, Marcel Minke.
Latest version 1.0 (2009-01-10)
MediaWiki 1.14+
License CC BY 3.0 Unported
Download Template:WikimediaDownload/svn
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
Translate the Redirect extension if it is available at translatewiki.net
Check usage and version matrix.

Normally, when a user creates an account or when logging out a page is shown. This default page can be changed using this extension.

For example:

  1. NewUserMessage redirecting new accounts to Special:Mytalk, or
  2. redirecting to Special:UserLogin on logout.


InstallationEdit

  • 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.

In-wiki configurationEdit

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.

CreditsEdit

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