Page MenuHomePhabricator

Send 404 status code for special pages without contents
Closed, ResolvedPublic

Description

For example [[Special:RecentChangesLinked/InvalidFooBarTitle]].

It has been observed on zhwiki that some search engine indexed pages with spam contents as "InvalidFooBarTitle". I guess it's because some spammers fed them to search engines deliberately. Sending 404s for them may resolve this with no harm.


Version: 1.24rc
Severity: enhancement

Details

Reference
bz67182

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:28 AM
bzimport set Reference to bz67182.
bzimport added a subscriber: Unknown Object (MLST).

Change 148965 had a related patch set uploaded by Liangent:
Send 404 in various special pages when there're no results

https://gerrit.wikimedia.org/r/148965

Change 148965 merged by jenkins-bot:
Send 404 in various special pages when there're no results

https://gerrit.wikimedia.org/r/148965