Page MenuHomePhabricator

"Go" search for existing category with non-existent page shows search instead of going to target
Closed, ResolvedPublic

Description

Like image pages, Category pages are designed to be useful when the category is in use, even if the page itself doesn't exist.

Currently if you put in a category title (say "Category:Super") in the search box and hit "go", you end up at a search results display if the page hasn't been created. This is a bit confusing if the category is in fact in use -- as with image pages, we should detect the "existence" special-cases with these types of pages and direct the user straight to the target page.


Version: unspecified
Severity: enhancement

Details

Reference
bz16343

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:28 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz16343.

Should probably be using Article::hasViewableContent() to consolidate these sorts of checks.