Page MenuHomePhabricator

Deleted pages should be served as HTTP 404 instead of HTTP 200
Open, LowPublic

Description

The "this page has been deleted" message should be served as HTTP 404 (note: not HTTP 410, as in WONTFIXed bug T14345: Server should return a 410 HTTP status code for deleted pages, which implies that the resource will never come back - that is not necessarily true for deleted pages).

Related: the 2014 discussion Wikipedia:Biographies of living persons/Noticeboard#Does the statement "A page with this title has previously been deleted" create a BLP problem?, regarding potential consequences of the "this page has been deleted" message appearing in search results for living persons.


Version: 1.23.0
Severity: minor

Details

Reference
bz59733

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:23 AM
bzimport added a project: MediaWiki-General.
bzimport set Reference to bz59733.
bzimport added a subscriber: Unknown Object (MLST).
Scott created this task.Jan 6 2014, 6:14 PM
Scott added a comment.Jan 9 2014, 3:28 PM

Hi Andre, I've changed the title again as the pages aren't currently being served as 410. :)

Ah, thanks! I misread.

Are you talking about user pages? That was changed to always return HTTP 200 (excepted unknown and blocked users) to allow use of the url as OpenID.

I wasn't aware of that change - good to know - but no, mainspace (and presumably other namespace) pages.

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 23 2015, 10:26 PM
Scott updated the task description. (Show Details)Dec 24 2017, 3:30 PM
Scott updated the task description. (Show Details)Dec 24 2017, 3:35 PM
Scott updated the task description. (Show Details)