Extension:HTTP302Found
From MediaWiki.org
|
Release status: stable |
|||
|---|---|---|---|
| Description | Forces an external HTTP 302 redirect instead of internal redirects | ||
| Author(s) | Ian Weller (ianwellerTalk) | ||
| Last Version | 1.0 (Jun 18 2009) | ||
| MediaWiki | 1.14+ | ||
| License | GPLv2+ | ||
| Download | Extension:HTTP302Found/Version 1.0 | ||
|
|||
|
check usage (experimental) |
|||
Contents |
[edit] What can this extension do?
Pushes a HTTP code 302 (Found) to the browser when there is a redirect instead of handling it internally. The end user will not notice any difference (other than the address to the page having an ?rd=Redirecting_page bit at the end).
[edit] Usage
Install and forget.
[edit] Download instructions
Please select the version you want below and copy and paste the resulting code in $IP/extensions/HTTP302Found/HTTP302Found.php. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.
[edit] Installation
To install this extension, add the following to LocalSettings.php:
require_once("$IP/extensions/HTTP302Found/HTTP302Found.php");