Extension:HTTP302Found
From MediaWiki.org
|
HTTP 302 Found Release status: beta |
|||
|---|---|---|---|
| Description | Forces an external HTTP 302 redirect instead of internal redirects | ||
| Author(s) | Ian Weller (ianweller) Patrick Uiterwijk (puiterwijk) |
||
| Last version | 2.0 (Aug 12, 2012) | ||
| MediaWiki | 1.19+ | ||
| License | GPLv2+ | ||
| Download | Version 2.0 | ||
|
|||
| Check usage and version matrix; 302 Found stats | |||
Contents |
What can this extension do?[edit]
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).
Usage[edit]
Install and forget.
Download instructions[edit]
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.
Installation[edit]
To install this extension, add the following to LocalSettings.php:
require_once("$IP/extensions/HTTP302Found/HTTP302Found.php");
Code[edit]
| Language: | English • русский |
|---|
