Brion Vibber wrote:
<snip>
** Mixing of HTML and wiki tables
Running tests on pages from French Wikipedia, I found a cute bugger that does
something like this:
{|
<caption>A table caption</caption>
|-
|blah
|}
Since tables haven't been replaced in the output yet, this <caption> is in a
<body> context as far as the HTML normalizer sees and it fails. But the old code
let it through, in both tidy and non-tidy mode.
While this kind of admixture looks *supremely ugly* to me, do we have any reason
to disallow it?
This is probably a case of users not realizing that there is a wiki
syntax for table captions ( |+ ). I did this a lot at the Vietnamese
Wikipedia before I realized that this syntax even existed, because you
don't see it as often as |- or ! for example. But couldn't cases like
these be handled by having a bot replace the misplaced HTML with
wikimarkup beforehand?
Should we think of the wiki table syntax as just a
shortcut/transformation to
HTML table tags, or should they be entirely separate entities?
-- brion vibber (brion @
pobox.com)
--
Minh Nguyen <mxn(a)zoomtown.com>
AIM: trycom2000; Jabber: mxn(a)myjabber.net; Blog:
http://mxn.f2o.org/