Merge "Don't emit 404 status code on Special:Redirect"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 31 Mar 2016 16:26:10 +0000 (16:26 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 31 Mar 2016 16:26:11 +0000 (16:26 +0000)
includes/specials/SpecialRedirect.php

index c0ed4c9..12959a3 100644 (file)
@@ -272,7 +272,6 @@ class SpecialRedirect extends FormSpecialPage {
                                $url = $this->dispatchLog();
                                break;
                        default:
-                               $this->getOutput()->setStatusCode( 404 );
                                $url = null;
                                break;
                }