https://bugzilla.wikimedia.org/show_bug.cgi?id=44517
--- Comment #12 from Daniel Friesen <[email protected]> --- (In reply to comment #10) > Bug is, when there is an inconsistent behavior. 404 is (apart from obvious > 404 > cases) returned when the *page* does not exist = there is no such row in page > table. Nonexistent populated categories do not have a row in page table > because > the category page does not exist. So it should stay consistent with the rest. No, 404 is not a function of what is inside the database. 404 is something decided by whether the controller of the request's output decides it should be a 404. Be that Article, SpecialPage, ImagePage, CategoryPage, or some other custom controller. Different namespaces can have different behaviours. For example, Special: pages don't exist inside the database, whether it's a 404 or not is entirely decided by the class making the output. And likewise for categories -- which have content in the form of a list of pages that are inside the category -- 404 is decided based on if both the page does not exist AND there are no pages inside the category to display. ImagePage could be another special case given it too is more than just an article. -- 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
