Talk:Community Wishlist/W393
Add topicWish received: Tool to show category path for files
[edit]Thanks again for another solid and well-researched submission. We’ve noted your request about showing the category path for files, and we’re starting to look into where it might best fit.
Appreciate your continued dedication to improving Commons — it really shows.
--ARamadan-WMF (talk) 17:24, 17 June 2025 (UTC)
Clarification
[edit]It's not 100% clear to me what you're asking for here ...
"Somebody please enable showing a category path beneath each item in the thumbnail view (and a button per item in the normal table view). It would be best as a native functionality but a gadget would help a lot too and maybe could later be turned into a native feature"
So I think what you mean is - if I do a deepcat search on Commons, then I want to see the category path from the searched-for category to the category-the-file-is-in for each image on the search results page. Is that correct?
CParle (WMF) (talk) 11:14, 18 June 2025 (UTC)
- That paragraph is indeed pretty unclear and confusing. I'll see if I can make the wish clearer. The other text explains it better than that paragraph.
- Yes, partly correct. This is first of all / mainly about a tool to see the category path from a given file to a given category – this tool/method/API-call could then be integrated in various ways.
- So when searching with deepcategory, it could preselect the category of the first deepcategory in the search query. In that deepcategory view there would be a button next to underneath each file (could also be in the image preview) to see the category-path (again, FastCCI basically already does this).
- Ideally if it's not too much serverload and feasible or via some 'load all' button, it could show the cat-path for why the file is included in the results as hoverable text underneath each file (that is why it's included in any of the deepcategory categories of the search query [which for the envisioned wall-of-images 'viewmode' would be just one category and just one cat is the most common case])
- And when viewing a file page, there would also be a button that when clicked shows an input box into which to enter the category to which it should show the path (from the file one is viewing to the entered category).
- So when searching with deepcategory, it could preselect the category of the first deepcategory in the search query. In that deepcategory view there would be a button next to underneath each file (could also be in the image preview) to see the category-path (again, FastCCI basically already does this).
- Prototyperspective (talk) 23:48, 18 June 2025 (UTC)
This already exists
[edit]https://categorypath.toolforge.org * Pppery * it has begun 15:48, 10 October 2025 (UTC)
- No, it doesn't. Thanks a lot for the link though! Maybe this could be developed further to also work for files on Commons or its code be used for this (probably rather FastCCI's code would be used since it can already be used for it if it wasn't down all the time despite being a default gadget for years until just very recently). Prototyperspective (talk) 16:43, 10 October 2025 (UTC)