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.
bzimport set Reference to bz67182.
bzimport added a subscriber: Unknown Object (MLST).
liangent created this task.Jun 27 2014, 3:42 AM

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