On 11.08.2011 11:39, Daniel Friesen wrote:
What are people's opinions on the idea of taking
these removed
presentational attributes, and turning them into sugared parts of
WikiText that are output as actual css in the output.
The change would essentially mean that this:
|valign=top width=100%|
Would become:
<td style="vertical-align: top; width: 100%;">
Instead of this:
<td valign="top" width="100%">
This sounds good to me.
I'd like to take this opportunity to once more float the idea of having two
types of "tables" in wikitext:
* "grids" used for layout, that can be nested, and may be rendered as html
tables but would better be rendered using divs with appropriate styles.
* actual data tables, which can not contain block elements in their cells (and
can not be nested), for actual tabular data.
i think this would make for cleaner wiki text and for cleaner html output.
-- daniel