Tomasz Wegrzanowski wrote:
On Wed, Jan 22, 2003 at 03:09:57PM +0100, Pieter Suurmond wrote:
Agree! :-) However... <td>s don't necessarily have to be closed, it just depends on how one defines them.
I know how to fix table markup issue and it is exactly the opposite way.
We should completely forbid </td>, </th> and </tr>. They are just noise and table is completely unambiguous without them.
Yes, it is maybe possible to forbid </td>, </th> and </tr> in Wiki-source. But please DO generate them when you generate HTML out of it: although HTML4.01 does not require end-tags, many browsers still can't do without them. As it says on http://www.wikipedia.org/wiki/Wikipedia%3AHow_does_one_edit_a_page :
If your table doesn't look right, make sure that all <tr> and <td> tags are closed with corresponding </tr> and </td> tags. Do not indent lines, and do not include empty lines within a table. Otherwise, you will get spurious space above the table or even a browser crash.
Wiki-server should be able to take care of this, I presume.... (I am an experienced CGI/C/C++ programmer but am not too familiar with python, perl, php, SQL-quering. etc... I don't know what you system- administrators all use to keep the wiki-servers up and running.....)
Kind regards (and anyhow, thanks for Wikipedia, I really love it!), Pieter Suurmond
This is also completely correct in HTML, but we may automatically generate closing tags if we want to generate XHTML.
This reduces weight of table markup by almost half.
(Most tables on Polish Wikipedia are already written this way) _______________________________________________ Wikitech-l mailing list Wikitech-l@wikipedia.org http://www.wikipedia.org/mailman/listinfo/wikitech-l