Open main menu

Extension:HTTP302Found

English  • русский

MediaWiki extensions manual
OOjs UI icon advanced.svg
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)
Latest version 2.0 (2012-08-12)
MediaWiki 1.19+
License GPLv2+
Download Version 2.0
Hooks used
ArticleViewRedirect
Translate the HTTP302Found extension if it is available at translatewiki.net
Check usage and version matrix.

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

UsageEdit

Install and forget.

InstallationEdit

  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/HTTP302Found/HTTP302Found.php";
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

CodeEdit