Topic on Extension talk:CategoryTree

Suggestion: CategoryTree enhancement for touch screens

2
Dennis J au (talkcontribs)

Touch Problem:

On tablet touch devices I do not have the fine finger control necessary to 'touch' activate the '+' and '-' signs to show or reveal the items contained by a category. I usually end up touching the category name itself, which takes me away from the page I'm on, to the category page. This is not what I want to happen. What I'm interested in is to 'show' items in the category while staying on my current page, and then 'touch' linking to one of the pages in the category, not to the category page itself.

Suggestion:

Make the category names themselves, in the hierarchical tree, 'link' to showing beneath them the list of items in the category, rather than taking users off to a separate page devoted to that category.

This behaviour could be controlled by a parameter, users could set it to do things the way the extension currently works, or to do things the way I am suggesting here, i.e. to have clicking or finger tapping on category names showing the items under that category while keeping the user on the page they were already viewing.

Urfiner (talkcontribs)

I wrote a pretty stupid script to fix it. You should add it to Mediawiki:Common.js I am not a js developer so probably it is bad written but it works.

User:Urfiner#Fix category links

Reply to "Suggestion: CategoryTree enhancement for touch screens"