X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialRedirect.php;h=7eba0ded239e50b099f103e9780ee318f2113001;hp=6740da01e0c7581425eac892c13e7c50c51d6b81;hb=52b74d44d522c2a1b67f9ccc2b8f7e44b6b52d7c;hpb=7ae26c302366cdd2b5c6970294e3b2b81a738efd diff --git a/includes/specials/SpecialRedirect.php b/includes/specials/SpecialRedirect.php index 6740da01e0..7eba0ded23 100644 --- a/includes/specials/SpecialRedirect.php +++ b/includes/specials/SpecialRedirect.php @@ -88,7 +88,9 @@ class SpecialRedirect extends FormSpecialPage { } $userpage = Title::makeTitle( NS_USER, $username ); - return Status::newGood( $userpage->getFullURL( '', false, PROTO_CURRENT ) ); + return Status::newGood( [ + $userpage->getFullURL( '', false, PROTO_CURRENT ), 302 + ] ); } /**