Community Wishlist Survey 2022/Categories/Commons-specific: Display media/content of subcategories

Commons-specific: Display media/content of subcategories

  • Problem: In Commons, I often encounter very deep sub-categories, which are valid and should exist, but still only contain very few files. Browsing the content in these categories is difficult because you have to open each specific subcategory to get the preview of just one or two files.
  • Examples: 17th c. maps of Hesse which has in total 35 files over 14 sub-categories. Or Lviv in 19th c., with about 200(?) files in about 50(?) sub-sub-sub-categories (can't count exact numbers here, some categories and files show up in different branches). Problem has come up in this talk recently, between me and User Nosferattus.
  • Proposed solution: A clickable button "show all content over all sub-categories" that allows the user to open a new window/tab which then shows all files within such sparsely populated categories and their sub-categories.
    • technical suggestions I can already think of myself:
      • Exclude recursions and duplicates from showing up several times, of course.
      • Possibly with a marker from which category the files come from. Possibly duplicate files as per the above point, could receive several markers.
      • The proposed tool is NOT helpful in the case of heavily populated categories. It should not show up if the parent-category has more than X files, and exclude all childnode-categories that go over that same threshold. If too many files would need to be displayed, a warning should come up, or the button should be greyed out, or not be displayed at all. X could be a comparatively low number like 100, or 200.
      • I figure that fetching all sub-cat content and displaying it "temporarily" in the parent-category window for the user, would mess with tools like Cat-a-lot, which is why I propose a new display window. This one should only display the files, possibly the corresponding markers mentioned above, and a backlink to the actual category.
  • Who would benefit: Users browsing Commons content via categories, including the Categorizers.
  • More comments:
  • Phabricator tickets:
  • Proposer: Enyavar (talk) 11:44, 11 January 2022 (UTC)

Discussion

  • I think it would be very useful for the tool to list big subcategories. There are many categories with subcategories, which each have few files and a few subcategories. Most trees may be near empty, while most files of the parent category is in one or a few categories down the tree. Often the files you are looking for would be found in those. If the categories are big enough, above the threshold, ordinary links to go directly to the most promising ones (and perhaps expand subtrees when there) would be very useful. –LPfi (talk) 12:42, 13 January 2022 (UTC)
    その意見に同意します。大きなサブカテゴリーの一覧が予め表示されているととても便利です。 Mishika (talk) 00:29, 23 January 2022 (UTC)
  • I feel like improving the data for MediaSearch to consume is probably the way forward here rather than adding yet more support for the antiquated category system. Which is also something that can be done yourself. :D --Izno (talk) 02:14, 17 January 2022 (UTC)
What do you mean with that? If this is about structured data, there is no helper functionality I am aware of. I need to click on an image, click on the structured data tab, then navigate through an arcane menu to add statements, which I need to do one at a time. "This depicts a map". "The map is from year 1898". "The map is a topographical map". "The map depicts Illinois". "The map was drawn by John Smith". Doing so for more than a few dozen files in a row is EXHAUSTING. The categories are at least immediately accessible via HotCat and Cat-a-lot. --Enyavar (talk) 09:48, 18 January 2022 (UTC)
So, that's an editing problem then (which this team could also help with).
And you're talking to one of the first editors for Wikidata phase 2 and 30k edits when I stopped editing on the project. I know how much work it is. There are tools on Wikidata today that could also be adapted for Commons to help with making structured data better. Izno (talk) 04:48, 19 January 2022 (UTC)
antiquated or not, the category system is currently an important pillar of Commons. I believe the idea above is a pretty simple and straightforward, while I have no idea what all needs to be done to help with structured data input. --Enyavar (talk) 10:54, 19 January 2022 (UTC)
  • c:Help:FastCCI does this, although it doesn't have markers for categories, doesn't look at the size of each subcategory, and displays images cropped square (which I address here).--YTRK (talk) 12:00, 22 January 2022 (UTC)
    • neat, so we just need to improve this to not crop to square, and to include the image titles in the result page. --Enyavar (talk) 10:36, 23 January 2022 (UTC)
  • Pretty much implemented in PetScan already. ~~~~
    User:1234qwer1234qwer4 (talk)
    22:30, 7 February 2022 (UTC)

Voting

  •   Support --Nachtbold (talk) 18:38, 28 January 2022 (UTC)
  •   Support Bristledidiot (talk) 18:52, 28 January 2022 (UTC)
  •   Support --Arnd (talk) 19:46, 28 January 2022 (UTC)
  •   Support Vis M (talk) 20:59, 28 January 2022 (UTC)
  •   Support — Draceane talkcontrib. 23:05, 28 January 2022 (UTC)
  •   Support F. Riedelio (talk) 10:52, 30 January 2022 (UTC)
  •   Support Thingofme (talk) 11:05, 30 January 2022 (UTC)
  •   Support Libcub (talk) 21:45, 30 January 2022 (UTC)
  •   Support JPxG (talk) 00:36, 31 January 2022 (UTC)
  •   Support Lrkrol (talk) 14:33, 31 January 2022 (UTC)
  •   Support should be optional Havang(nl) (talk) 15:25, 31 January 2022 (UTC)
  •   Support Jochem van Hees (talk) 17:36, 31 January 2022 (UTC)
  •   Support IOIOI (talk) 20:38, 31 January 2022 (UTC)
  •   Support PhiH (talk) 17:02, 1 February 2022 (UTC)
  •   Oppose In light of the fact that Commons supports structured data, I think a media browser based on structured data would be a much more useful thing to work on. Silver hr (talk) 18:59, 1 February 2022 (UTC)
  •   Support Alice Redhotroof (talk) 11:12, 4 February 2022 (UTC)
  •   Support Kenraiz (talk) 16:23, 4 February 2022 (UTC)
  •   Support Pi.1415926535 (talk) 21:29, 4 February 2022 (UTC)
  •   Support --Ciao • Bestoernesto 03:10, 6 February 2022 (UTC)
  •   Support Ayumu Ozaki (talk) 05:17, 6 February 2022 (UTC)
  •   Support oh yes! --Anvilaquarius (talk) 18:42, 6 February 2022 (UTC)
  •   Support ~Cybularny Speak? 20:16, 7 February 2022 (UTC)
  •   Support BugWarp (talk) 23:41, 8 February 2022 (UTC)
  •   Support: would be really useful on all wikis when searching Commons for appropriate images. — Bilorv (talk) 11:43, 9 February 2022 (UTC)
  •   Support Andrei Romanenko (talk) 02:03, 10 February 2022 (UTC)
  •   Support Meiræ 22:17, 10 February 2022 (UTC)
  •   Support Gaurav (talk) 06:44, 11 February 2022 (UTC)