https://bugzilla.wikimedia.org/show_bug.cgi?id=44517

--- Comment #13 from Bawolff (Brian Wolff) <[email protected]> ---
Where in the code/db doesn't really matter. What matters is the meaning of the
error. 404 means resource not found. If we return a 404, it should be entirely
safe (albeit annoying beyond belief) for a web browser to replace our 404 page
with its own error page. This would not be the case if there are category
entries.

If there are entries in the category, we are returning actual content, hence
200 is the appropriate status code.

----

As an additional technical motivation. Returning 404 on such a page would
prevent them from being indexed by search engines. I believe most people would
want such a page to be indexed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to