Page MenuHomePhabricator

page error 404 missing when url ends with .php
Open, Needs TriagePublic

Description

Steps to reproduce:
go in any language version to any (non existing) pages ending with .php
for example in https://wikipedia.org/anything.php (of course existing pages such as https://it.wikipedia.org/w/api.php are excluded)
if is without the /w it will always redirect to a blank page with just a tiny "File not found." If it has the /w/ the index.php will redirect to main pages

image.png (1,643×438 px, 30 KB)

Expected results:
it should visualize the error 404 "not found" page (usually with WMF logo and black background)