Page MenuHomePhabricator

Searching for images in nested categories on Commons
Closed, ResolvedPublic

Description

Proposed in Community-Wishlist-Survey-2016. Received 31 support votes, and ranked #51 out of 265 proposals. View full proposal with discussion and votes here.

Problem

While searching for images in nested categories, you never see all files in all sub-categories

Who would benefit

Anyone searching for images

Proposed solution

"View flat" option with standard maximum of 50/100/200 files while keeping original search string (e.g. "horse"): while searching for files, allow viewing all files in a category that has sub-categories, even though some files may be in multiple sub-categories.

Technical details

Time, expertise and skills required

  • e.g. 2-3 weeks, advanced contributor, javascript, css, etc

Suitable for

  • e.g. Hackathon, GSOC, Outreachy, etc.

Proposer

Jane023

Related links

Event Timeline

This is an interesting use case. Implementing something to satisfy it would have clear advantages for users searching Commons.

That said, categories in MediaWiki are a mess. The situation is even worse on bigger wikis like English Wikipedia or Commons. This could cause issues here. For example, Bo (dog) is in a subcategory of a subcategory of Category:African-American people. If one were to search for all images in all subcategories of African-American people, you'd eventually get a picture of a dog. That doesn't seem right. There would have to be a lot of changes to the category structure by users on all wikis to get this to work properly.

Now, structure data for Commons is coming! The structured and reliable nature of the data that will be stored will make something like this much better, e.g. a photo of Bo the dog would tell you it was a dog and not a person. I suspect that building this on top of structured data on Commons, rather than categories, would serve the user need much better.

Deskana moved this task from needs triage to search-icebox on the Discovery-Search board.