Community Wishlist Survey 2021/Categories/Add sorting options in category pages

From Meta, a Wikimedia project coordination wiki

Add sorting options in category pages

  • Problem: Categories are a powerful tool to search pages. However, category pages only show the page's name, and there's a single sorting method, which reduces their usefulness.
  • Who would benefit: Readers and editors alike.
  • Proposed solution: Category pages should have an option to select the sorting type, for example category tag, page name, file size, first edit date, last edit date, number of editions, and page views. These values must be displayed of course.
  • More comments:
  • Phabricator tickets: T71417, T61108, T42870
  • Proposer: NaBUru38 (talk) 17:47, 21 November 2020 (UTC)[reply]


  • Problem: Content of Commons categories is displayed now in alphabetical order. Only. I wish we could sort content according to: size of file; date of file (chronological and on an annual basis - useful for landscapes and nature); type of file (extensions), number of uses of files.
  • Who would benefit: All users who need to find specific file in large categories.
  • Proposed solution: ?
  • More comments:
  • Phabricator tickets:
  • Proposer: Kenraiz (talk) 01:07, 26 November 2020 (UTC)
Best, MusikAnimal (WMF) (talk) 16:32, 7 December 2020 (UTC)[reply]
  • Categories are a weird realm in that they're ostensibly for readers, but de facto used mostly by editors. As a reader, the thing I'd really like to see long-term is a merging of categories and lists, such that it'd be possible to sort by things like date of birth for a people list. The more page metadata-related sorting functions proposed here would be useful for me as an editor, but if this gains support, I'd want to see it implemented in a way that doesn't add clutter for readers, who aren't very likely to want to sort by last edit date. {{u|Sdkb}}talk 04:51, 9 December 2020 (UTC)[reply]
  • I'm increasingly of the mind that the best way to handle "categories" on Wikipedia is with Wikidata. Rather than create some fixed methods of sorting our cumbersome and strange tagging system, allow for easier (and limited, for the purpose of usability) querying of Wikidata to do everything. If you build a system on Wikidata queries, supply it with a set of properties it can use, then it would take less effort to just change those properties down the road than to modify the way mediawiki runs category pages. Categories on Commons, however, serve a rather more fundamental purpose at the moment, so it may be worth it for there, but I'm still kind of skeptical. — Rhododendrites talk \\ 13:46, 9 December 2020 (UTC)[reply]
  • Can't we already do this with Petscan ? T. Le Berre, the french serpent à plumesTry and talk to me buddy 01:12, 21 December 2020 (UTC)[reply]