Page MenuHomePhabricator

redirect.php has gone AWOL
Closed, ResolvedPublic

Description

Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/apache/common-local/php-1.22wmf2/redirect.php' (include_path='.:/usr/share/php:/usr/local/apache/common/php') in /usr/local/apache/common-local/w/redirect.php on line 3

It's not in master...


Version: wmf-deployment
Severity: normal

Details

Reference
bz47279

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 1:41 AM
bzimport set Reference to bz47279.
bzimport added a subscriber: Unknown Object (MLST).

[09:56:25] <hashar> Reedy: * f9e5457 - Remove completely unused $wgRedirectScript/redirect.php (2 weeks ago) <Chad Horohoe>

Any idea what still calls redirect.php, if Chad assumed that it was unused?

Not sure. Will do some more digging when I get chance. I'm suspecting the usage is low as on mediawiki, testwiki and test2wiki I only noticed that showing up once.

https://www.mediawiki.org/w/redirect.php

Not sure if the fix is to remove /h/w/c/w/redirect.php (should 404 then), or modify it to display something telling people to go away

Maybe just redirect to index.php? Nothing should've been using this for ages...it was only used by Nostalgia and that usage was removed some time ago.

Related URL: https://gerrit.wikimedia.org/r/59443 (Gerrit Change I305a51274aa24bedc2de9013a0a88254343f01cd)