X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialRedirect.php;h=82d8b73b1f51d59672179883f509c02950295347;hp=50867dd87916f768798e6ab576cef06abd0c73ae;hb=02f35caa16fa574bb36a1d22eea62c3b250de235;hpb=bfff8c74ffe8e559299dfc1428ea12fcc69eb904 diff --git a/includes/specials/SpecialRedirect.php b/includes/specials/SpecialRedirect.php index 50867dd879..82d8b73b1f 100644 --- a/includes/specials/SpecialRedirect.php +++ b/includes/specials/SpecialRedirect.php @@ -90,7 +90,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 + ] ); } /**