Last modified: 2014-10-21 21:51:06 UTC
In the mobile version of Wikimedia projects, cell borders in tables are always shown, even when they should not. For example there are some templates (such as [http://en.wikisource.org/wiki/Template:Header this] and [http://it.wikisource.org/wiki/Template:Citazione this]) in which tables are used to build something's structure: in this cases borders are unaesthetic. Instead, borders should be shown only if they would in the desktop version.
This is due to tables being display block to enable scrolling on the mobile site. Agreed we should make these more aesthetically pleasing.
Fixed in https://gerrit.wikimedia.org/r/30288
Thanks!
This appears to have regressed. The current selector for applying borders is just: .content table td [main.less,200]. There are many places where tables are used to provide layout invisibly.
Caused by: Ib3376651b8bbca3fb5b5ff8e3020efc435be0408 (before moving content css from common to content) See: https://bugzilla.wikimedia.org/show_bug.cgi?id=49959
We recently submitted a change that would hide the borders on tables within tables. I'm not sure if this will help... Could you override the style on mobile using MediaWiki:Mobile.css ?
Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/ScJYJdnL
Patch in question that tweaked the styles was https://gerrit.wikimedia.org/r/165120
I need more feedback on this bug guys. Is there a way we can identify which tables should have borders and which shouldn't? It seems templates should be able to specify their styles using inline styles to override the default table styling. I'm not sure there is anything we can do here.
Simply stated, only the tables that have borders in the desktop version should have them in the mobile version. But maybe this is of no help from a technical point of view.
I need some specific examples of pages that have this problem so I can dig into this more.. can you provide some more details :)
For instance, take a look at https://en.wikisource.org/wiki/Alice%27s_Adventures_in_Wonderland_(1866) . Template:Header uses a table, but not all the borders have to be shown. By the way, other table styles (width, border color, background color) do no work as well.
This looks like an issue with wikisource. Wikisource has various rules in https://en.wikisource.org/wiki/MediaWiki:Common.css which are not being loaded in https://en.wikisource.org/wiki/MediaWiki:Mobile.css You'll need to get the table related rules copied over and tested by an admin there.