Be able to set table cell background (and other formatting options)
OpenPublic

Description

Author: jonathan_haas

Description:
It's currently impossible to change table cell background VE

See for example http://de.wikipedia.org/wiki/Suriyakati-Kalender


Version: unspecified
Severity: enhancement

bzimport set Reference to bz52180.
bzimport created this task.Via LegacyJul 28 2013, 10:33 AM
Whatamidoing-WMF added a comment.Via ConduitMay 16 2014, 6:44 PM

"Other formatting" should include support for font size and line height, so that tables like the ones seen at https://en.wikipedia.org/w/index.php?oldid=608813235#Early_years will display with the correct row height.

Jdforrester-WMF added a comment.Via ConduitMay 16 2014, 7:57 PM

(In reply to WhatamIdoing from comment #1)

"Other formatting" should include support for font size and line height, so
that tables like the ones seen at
https://en.wikipedia.org/w/index.php?oldid=608813235#Early_years will
display with the correct row height.

No, that's a bug caused by VE assuming that table cells' paragraphs should be styled like other paragraphs. That's a fix to styling rules, nothing to do with editing them to have custom styles. Could you file a new bug?

Whatamidoing-WMF added a comment.Via ConduitMay 16 2014, 8:43 PM

This issue of table cell paragraph formatting is now Bug 65416.

Jdforrester-WMF changed the title from "VisualEditor: Be able to set table cell background (and other formatting options)" to "Be able to set table cell background (and other formatting options)".Via WebNov 24 2014, 2:20 AM
Jdforrester-WMF set Security to None.
Jdforrester-WMF moved this task to Backlog on the VisualEditor workboard.Via WebNov 24 2014, 2:58 AM
Whatamidoing-WMF added a comment.Via WebJan 9 2015, 6:49 PM

In terms of the scope for this item: I'd like (Howie) to be able to create this table in VisualEditor: https://www.mediawiki.org/wiki/File:Product_stages_and_players.jpg

I'm not entirely sure how to do it in wikitext, but that's what I want to be able to do.

Jdforrester-WMF added a comment.Via WebJan 9 2015, 6:58 PM

There's a strong use case to not let this be something people do. The colour in your example adds almost no value but massively distracts from the readability, accessibility and utility of the information being conveyed.

Krinkle added a comment.EditedVia WebJan 9 2015, 8:02 PM

Note that standardised styles (by the software or by local wikis) for tables can be developed and provided through program code (instead of through article content) by declaring them in CSS stylesheets (such as MediaWiki:Common.css).

I'd say it'd be an improvement if VisualEditor has an interface that can apply certain css classes to a table. Especially ones provided by MediaWiki core, such as wikitable, sortable, and mw-collapsible. (Though ideally through an intuitive interface, and not a free-form text field; which requires users to know internal software class names.)

And potentially a few other class-name / label combinations provided by the local wiki. There's definitely a use case for having more than one type of table for all of Wikipedia.

Whatamidoing-WMF added a comment.EditedVia EmailJan 9 2015, 10:49 PM

The colour...distracts from the readability, accessibility and utility of the information being conveyed.

Making it possible and even moderately easy to render this image in a table instead of in an image would IMO be a significant improvement in the readability, accessibility and utility of the information. For example, someone with a screen reader could actually read it, and anyone could edit the contents.

I'm not looking for fruit salad in encyclopedia articles, but when someone wants to create a table like this, I want them to think "Oooh, I can do that in VisualEditor", not "I'll draw this in Adobe Illustrator, export it as a jpeg, upload it to Commons, insert it on a page in mediawiki.org, and every time someone needs to have a simple typo fixed, I'll repeat that process."

Juandev added a comment.Via WebJan 12 2015, 12:58 AM

There's a strong use case to not let this be something people do. The colour in your example adds almost no value but massively distracts from the readability, accessibility and utility of the information being conveyed.

Probably strong case not to use it in Wikipedia, but what about Wikiversity. You may need to highlight cells just to be more atractive for the students or to be able to count someting better. I thing advanced MS Excell of Google Tabs already allow to search by table cell bg color.

Whatamidoing-WMF added a comment.Via WebJan 12 2015, 4:46 PM

I wonder if it could be a feature that is configurable per-wiki, or ideally per-namespace at each wiki. Then you could get (for example) teaching materials at WIkiversity that use it, but keep it out of the article namespace at the English Wikipedia. (It would still need to accept copied/pasted tables, and maybe have a 'remove this background color' button—which we need anyway, because of tables copied from other websites.)

Juandev added a comment.Via WebFeb 15 2015, 12:16 PM

So the option per wiki is the best choise I guess. Namespaces are not standardized yet on some wv projcects.

Add Comment