Page MenuHomePhabricator

Auto-collapse the Wikidata Infobox when browsing Commons on Mobile
Open, Needs TriagePublic

Description

A lot of Commons categories now have infoboxes, which is great on desktop, but when you access a category on mobile then you now have to go down several screens before you can see the photos in the category. For example, see https://commons.m.wikimedia.org/w/index.php?title=Category:Lovell_Telescope&mobileaction=toggle_view_mobile .

There was an option on Wikipedias in the past to auto-collapse the infobox, and it would be good to implement that here - but documentation (and live examples?) don't seem to be present at the moment.

Does this need a modification to Mobile.css on Commons, or Template:Wikidata_infobox ?

Event Timeline

Do we wish to collapse or hide it? There is CSS class "nomobile".

Do we wish to collapse or hide it? There is CSS class "nomobile".

Collapsing it would be preferred, but it can be hidden if that's not possible.