Last modified: 2014-09-20 22:28:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55130, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53130 - Categories should not be rendered in a table (do not display well on mobile)
Categories should not be rendered in a table (do not display well on mobile)
Status: NEW
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-20 21:54 UTC by Jon
Modified: 2014-09-20 22:28 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jon 2013-08-20 21:54:28 UTC
Go to:
http://en.m.wikipedia.org/wiki/Category:Massacres_in_Iraq

This displays terribly on a small screen as the HTML markup is a table.

If a 3 column layout is really wanted the column-count css rule should be used on a single list element.
Comment 1 Jon 2013-08-20 21:57:09 UTC
Any change should also introduce the column-count css property via a media query so it renders nicely on mobile.
Comment 2 Bawolff (Brian Wolff) 2013-08-20 22:19:01 UTC
does column-count render well on IE now a days? (The original reason for table was it was made well before there was any browser support for css columns).
Comment 3 Jon 2013-08-20 22:24:57 UTC
No only in 10 [1]. but does this really matter?
As a single list the category list is still readable on IE albeit long.
Currently however it is /not readable/ on a mobile phone (320px resolution).

You wouldn't spend time worrying about making an old black and white TV spend time showing HD movies so why would you spend time worrying about making column-count work on IE...?

[1] http://caniuse.com/multicolumn
Comment 4 Amgine 2013-08-20 22:41:29 UTC
Currently 12.63% support (according to link.) More importantly, from that source none of the mobile browser have complete support except Opera mini. ("Note: Partial support refers to not supporting the break-before, break-after, break-inside properties. Webkit browsers do have equivalent support for the non-standard -webkit-column-break-* properties.")
Comment 5 Jon 2013-11-15 16:05:10 UTC
I think the main thing I'm trying to get at is don't use a table and instead use something that falls back to a single column (the same effect could be made using 3 DIVs)

On mobile it doesnt matter if the column-count property doesnt work as this will simply show a single list which is the needed behaviour there anyway.
Comment 6 Matthias Becker 2014-09-20 22:26:30 UTC
Actually the user should be able to adjust the number of columns shown in his preferences. Me for example often works in categories with typically long article's names which unnecessarily break lines, others might have other preferences because mainly work with categories in which article names are mostly short.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links