Last modified: 2014-11-02 10:33:28 UTC
Current table syntax allows the generation of a summary: {| summary="This is a summary" Which renders: <table summary="This is a summary"> This is no longer valid in HTML5. Propose that this should render within the caption using HTML5 tags: <caption> <details> <summary>This is a summary</summary> </details> </caption>
Given that $wgCleanupPresentationalAttributes was removed from MW (bug 40632), do we still want this kind of transformation being made by its parser?
This isn't like <tt>, which is whitelisted HTML markup but obsolete. This is wikimarkup which is now rendering obsolete HTML. The current code just needs to be updated.
This isn't like <tt>, which is whitelisted HTML markup but obsolete. This is wikimarkup which is now rendering obsolete HTML. The current code just needs to be updated. If I see <tt> in content, I can easily fix it. There is no way an editor can fit table summary.
Wikitext tables support captions. {| |+ Caption ! Heading A ! Heading B |- | … |}
(In reply to comment #4) > Wikitext tables support captions. > > {| > |+ Caption > ! Heading A > ! Heading B > |- > | … > |} Yes, they do. But this relates to the table summary, not the caption. HTML5 uses different markup for summary. And yes, summary is used on the English Wikipedia.
Looks like summary is now obsolete, so this is moot. http://www.w3.org/TR/html-markup/table.html