Page MenuHomePhabricator

Better category handling in Timeless
Open, Needs TriagePublic


Putting categories in the sidebar results in a lot of clutter on more categorised projects. Also categories are often not things readers would even want to see. See:

  • Consider if sidebar for this is even a good idea
  • Limit number in sidebar, select out more likely to be useful ones
  • Put full list, including hidden categories, at bottom of page as usual
  • Don't put categories in sidebar at all all unless in 3-column view

Event Timeline

Isarra created this task.Mar 16 2017, 4:07 PM

Generally: reconsider TimelessTemplate::getCategories. What is the point of this, really?

I don't think it would be that good to remove the categories from right sidebar, as they provide valuable information and navigation utitlity in my opinion that is moved into periphery by the standard skins. While it's true, that some pages have a huge category count, this is only true for a minority of them. Furthermore, the right sidebar doesn't need the space for anything else, if you remove the cats you just get whitespace instead.

That's why I think you should go with the second option, but choose a quite high threshold like 20 or anything like that. If you want to select some specific categories – I really don't know how you would do that – you should provide a link All Categories at the bottom of the category sidebar section.

Nevertheless, I think your third and fourth are really valid, but I wonder if you really should remove hidden cats from the sidebar if there's only a small number of categories on that page.

Change 442021 had a related patch set uploaded (by Evad37; owner: Evad37):
[mediawiki/skins/Timeless@master] Fix display of categories in the sidebar

Change 442021 merged by jenkins-bot:
[mediawiki/skins/Timeless@master] Fix display of categories in the sidebar

MGChecker renamed this task from Better category handling to Better category handling in Timeless.Jul 22 2018, 6:46 PM