[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #27 from C. Scott Ananian canan...@wikimedia.org --- A related use case: allows Parsoid to handle arbitrary table markup in WTS phase. Although my proposal (for the record) would be *not* to add new pipes-and-punctuation markup for thead tfoot etc, but instead to just allow them to be generated by literal HTML embedded in wikitext, eg https://en.wikipedia.org/wiki/Help:Table#Other_table_syntax Once your table is sufficiently complicated, it's probably best to use literal HTML, IMO. But we still need to permit thead/tfoot/colgroup etc in literal HTML within wikitext. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #28 from Michael Zajac mich...@zajac.ca --- (In reply to Gabriel Wicke from comment #26) 1) allows for more sophisticated formatting (comment 1) The main reason I requested this is the ability for an editor to create multiple row groups by adding multiple tbody elements in a table. This would allow grouping data in tables, making these groups accessible to assistive devices like screen readers, allow visual formatting of the groups with CSS (other than redundant inline CSS), and allowing behaviours like collapsing groups. The solution in comment 1 simply automates adding a whole-table tbody element, and does not satisfy the requirement (the HTML DOM implicitly includes a full-table tbody anyway, so this solution is redundant.) Some use-case examples that would benefit from this: * Thousands of list articles that break up lists into separate tables, often set off with article sections. These would benefit by automatically having columns visually aligned, and in accessibility. Examples: http://en.wikipedia.org/wiki/List_of_Jim_Rockford's_answering_machine_gags https://en.wikipedia.org/wiki/List_of_Canadian_provincial_and_territorial_symbols https://en.wikipedia.org/wiki/List_of_field_guns * Similarly, data tables and infoboxes that set off groups using th elements, with inline CSS for visual formatting, with rows and cells containing only hr elements, or multiple methods: https://en.wikipedia.org/wiki/Ukrainian_alphabet#Unicode https://en.wikipedia.org/wiki/Romanization_of_Ukrainian#Tables_of_romanization_systems https://en.wikipedia.org/wiki/Template:Infobox_weapon * Navboxes that use nested tables to create groups: https://en.wikipedia.org/wiki/Template:WWIISovietAFVs * Wiktionaries have thousands of simple and complex inflection tables that need grouping: https://en.wiktionary.org/wiki/слушать#Conjugation https://en.wiktionary.org/wiki/анулирам#Conjugation -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #29 from Michael Zajac mich...@zajac.ca --- (In reply to C. Scott Ananian from comment #27) Once your table is sufficiently complicated, it's probably best to use literal HTML, IMO. But grouping table rows is a very simple concept. There is high demand. Editors are already attempting to do this in tens of thousands of tables using complex, inconsistent, inaccessible, inadequate, and inappropriate hacks (rows of table headers, horizontal rules, inline CSS, nested tables, etc.). It should be possible to accomplish this with dead-simple wikitext, and visually format it consistently and automatically in standard style sheets. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #30 from C. Scott Ananian canan...@wikimedia.org --- @Michael Zajac: nothing related to table parsing in wikitext is simple, unfortunately. So I'm suggesting to concentrate on *making it possible*, and let the template authors and/or VE, etc, worry about making it dead-simple. But I'm open to suggestions. The HTML elements not currently supported in wikitext are thead, tbody, tfoot, colgroup, and col. If someone would like to open a new wikipage proposing concrete dead-simple wikitext syntax for these, I'd be happy to re-evaluate. (But please make your proposal on a wikipage, so that this bugzilla isn't bloated out with endless bikeshedding over tweaks to the syntax.) Note that the original page was reverted (as I understand the history of this bug) because the implementation constructed an entire in-model memory of the table during processing. Wikipedia tables can be *huge*. So any syntax proposal must be able to be parsed without buffering and using as little table context information as possible. Similarly, you should be prepared to demonstrate (using greps over a wikipedia dump, or similar) that the proposed syntax does not break any existing table markup. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #31 from Michael Zajac mich...@zajac.ca --- @C. Scott Ananian I do appreciate that the parsing and programming are likely very complex. And also that white-flagging the HTML is a good improvement and probably a step towards creating a wikitext syntax for these elements. But wikitable syntax is fairly simple for editors to use, and I hope that these efforts can eventually add a simple way to mark the start of a new tbody (row group), and the other elements. I’m sorry that currently I can’t invest time in this, but thanks for the suggestions on how to proceed. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #32 from Brad Jorsch bjor...@wikimedia.org --- (In reply to C. Scott Ananian from comment #30) If someone would like to open a new wikipage proposing concrete dead-simple wikitext syntax for these, I'd be happy to re-evaluate. (But please make your proposal on a wikipage, so that this bugzilla isn't bloated out with endless bikeshedding over tweaks to the syntax.) I note the correct place for such a proposal would be https://www.mediawiki.org/wiki/Requests_for_comment -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #33 from C. Scott Ananian canan...@wikimedia.org --- @Brad -- yes, I thought about mentioning that, but reconsidered; I thought it would probably be more useful to stage a draft in some user's talk space (or similar) first and let people hack on it for a while, before making things formal and hoisting the text into the RfC namespace. I didn't want to discourage contributors by forcing the RfC template and formatting on them right away. But: if you're not afraid of extra process and formatting and are feeling confident in your proposal, then sure throw it directly into RfC space. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #26 from Gabriel Wicke gwi...@wikimedia.org --- (In reply to Andy Mabbett from comment #24) Gabriel: The use case is out lined in Michael Zajac's initial post (timestamp: 2006-01-24 02:41:52); and in comments 4 11. Do you have questions about those? What I see there is 1) allows for more sophisticated formatting (comment 1) 2) sorttables not sorting thead / tfoot (comment 4) 3) facilitation of microformats (comment 11) Are 1) and 2) actually still issues? To me it sounds like 2) would only be an issue with a footer, which is relatively rare. Otherwise, detecting a row with th elements should not be hard in a script. 3) Is rather nebulous given that you can just as well attach classes to trs. I am asking for is a clear use case. I want to do X, it's not possible because of Y, and it will be possible once thead / tbody / tfoot are supported. This is worth the costs because of Z. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #24 from Andy Mabbett a...@pigsonthewing.org.uk --- Gabriel: The use case is out lined in Michael Zajac's initial post (timestamp: 2006-01-24 02:41:52); and in comments 4 11. Do you have questions about those? It appeared from comment 15 that this was resolved four years ago; no reason for its reversion has been given here. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #25 from Andy Mabbett a...@pigsonthewing.org.uk --- Also, the heuristic suggested above won't work, as it's necessary to allow for more than one tbody per table. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 Gabriel Wicke gwi...@wikimedia.org changed: What|Removed |Added CC||gwi...@wikimedia.org --- Comment #23 from Gabriel Wicke gwi...@wikimedia.org --- I think this proposal needs a clearer description of use cases, and why those use cases justify the complexity costs in: * the wikitext user interface * the VisualEditor user interface * Parsoid As an example, how would this be sensibly presented in VE? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 James Forrester jforres...@wikimedia.org changed: What|Removed |Added Priority|Normal |Low Status|REOPENED|NEW -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #21 from Andy Mabbett a...@pigsonthewing.org.uk --- Can we get an update, please? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #22 from Andre Klapper aklap...@wikimedia.org --- Nobody is currently working on this. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #20 from Michael Zajac mich...@zajac.ca --- So when the patch is implement, what syntax would I use to divide a table into two or more row groups using tbody elements? This is not clear from the descriptions above. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 mybugs.m...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED CC||mybugs.m...@gmail.com Resolution|FIXED | --- Comment #18 from mybugs.m...@gmail.com 2012-09-15 17:42:25 UTC --- tbody is not working here: https://en.wikipedia.org/w/index.php?title=Wikipedia:Sandboxoldid=512695930 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #19 from mybugs.m...@gmail.com 2012-09-15 17:44:15 UTC --- Hmm... r85922 was reverted on r97145 and we do not have any of thead, tbody or tfoot at https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blame;f=includes/Sanitizer.php;hb=893b41431c46785856b84ca91810f905c21b6831#l355 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 DieBuche diebu...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #17 from DieBuche diebu...@gmail.com 2011-04-13 19:50:57 UTC --- Nux: I'd say that it's better to do it on the existing syntax, since I can't see the use case of having a row that looks like a thead but structurally isn't. Fixed in r85922 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 Nux e...@wp.pl changed: What|Removed |Added CC||e...@wp.pl --- Comment #16 from Nux e...@wp.pl 2011-02-09 09:23:51 UTC --- I think it would be nice to have a new syntax for tfoot and thead rather then (only) hack around current one. Parse with first row in thead: {| |+ Title |- ! Head cell !! Head cell |- | Normal cell || Normal cell |- | Normal cell || Normal cell |} Parse without thead: {| |+ Title |- ! Head cell | Normal cell |- | Normal cell || Normal cell |- | Normal cell || Normal cell |} Parse rows with |!- moved to thead (only if in concurrent rows). Parse rows with |- moved to tfoot (only if in concurrent rows). {| |+ Title |!- ! Head cell !! Head cell |!- ! Head cell !! Head cell |- | Normal cell || Normal cell |- ! Head cell not in thead | Norma cell |- | Normal cell || Normal cell |- | Footer cell || Footer cell |} -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 Michael Zajac mich...@zajac.ca changed: What|Removed |Added Blocks||10467 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 DieBuche diebu...@gmail.com changed: What|Removed |Added Attachment #7912|0 |1 is obsolete|| --- Comment #15 from DieBuche diebu...@gmail.com 2010-12-15 19:11:45 UTC --- Created attachment 7915 -- https://bugzilla.wikimedia.org/attachment.cgi?id=7915 7912: a structural method to implement structural elements: tbody, thead and tfoot v This ones passes all parsertests (except those which get upset by the new tbody). the new html tags are whitelisted now as well. This patch would enable us to migrate to a better tablesorter script, which would fix a lot of the open table sorting bugs. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 --- Comment #13 from DieBuche diebu...@gmail.com 2010-12-14 17:27:27 UTC --- Created attachment 7911 -- https://bugzilla.wikimedia.org/attachment.cgi?id=7911 a structural method to implement structural elements: tbody, thead and tfoot v2 Updated patch to apply cleanly to trunk. Fails heaps of parser tests, fixing that now -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 DieBuche diebu...@gmail.com changed: What|Removed |Added Attachment #7911|0 |1 is obsolete|| --- Comment #14 from DieBuche diebu...@gmail.com 2010-12-14 17:29:09 UTC --- Created attachment 7912 -- https://bugzilla.wikimedia.org/attachment.cgi?id=7912 a structural method to implement structural elements: tbody, thead and tfoot v2 v2 last patch contained unrelated changes -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 DieBuche diebu...@gmail.com changed: What|Removed |Added CC||p...@paul-robinson.us --- Comment #12 from DieBuche diebu...@gmail.com 2010-12-10 22:01:03 UTC --- *** Bug 3156 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 4740] thead, tbody, tfoot for wikitable syntax
https://bugzilla.wikimedia.org/show_bug.cgi?id=4740 Andy Mabbett a...@pigsonthewing.org.uk changed: What|Removed |Added CC||a...@pigsonthewing.org.uk --- Comment #11 from Andy Mabbett a...@pigsonthewing.org.uk 2010-04-17 22:01:42 UTC --- I support the proposal to add these three elements; their availability, with class attributes, will greatly facilitate the use of microformats. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l