Last modified: 2011-03-13 18:06:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2010, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10 - no shortcut for a heading in the middle of a row in wikitable markup
no shortcut for a heading in the middle of a row in wikitable markup
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-10 17:07 UTC by xmlizer
Modified: 2011-03-13 18:06 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description xmlizer 2004-08-10 17:08:00 UTC
in the documentation it seems to mention that 
{|
| A !! B || C
|}

have to be transformed in
<table>
<tr>
  <td>A</td>
  <th>B</th>
  <td>C</td>
</tr>
</table>

but it doen't work

may be a better syntax could be

{|
| A |! B !| C
|}

to be equivalent to

{|
| A 
! B 
| C
|}
Comment 1 Timwi 2004-08-10 17:15:53 UTC
> in the documentation it seems to mention that 

It does not say that on http://meta.wikimedia.org/wiki/Help:Table.

I think this is expected behaviour.  If you do something like this:
{|
! cell 1 || cell 2 || cell 3
|}
then all the cells in this row become <th>s.  Essentially, this means that if
you want a <th>, you have to start a row with a !.
Comment 2 xmlizer 2004-08-10 17:38:03 UTC
ok so the documentation doen't mention that...
But as <th> is a cell marquer and not a line marquer
it will be great to have this feature working
but it has to change the way it works now
{|
! A !| B |! C
|}
would look like
<table>
<tr>
  <th>A</th>
  <td>B</td>
  <th>C</th>
</tr>
</table>
and
{|
! A || B || C
|}

which have to be equivalent to

{|
! A !| B || C
|}

will have to look like

<table>
<tr>
  <th>A</th>
  <td>B</td>
  <td>C</td>
</tr>
</table>

instead of 

<table>
<tr>
  <th>A</th>
  <th>B</th>
  <th>C</th>
</tr>
</table>
Comment 3 Rowan Collins [IMSoP] 2005-04-24 17:07:52 UTC
I'm tempted to mark this "wontfix", because this seems to me a fairly unusual
requirement, and the below works fine:
{|
| A 
! B 
| C
|}

For now, I'll just mark it as "severity:enhancement".

I'm also removing keyword "parser", as writing a new parser wouldn't solve this
because it is not a feature that doesn't work, it's one that hasn't been written. 
Comment 4 gans 2007-04-22 13:46:43 UTC
Created attachment 3494
Comment 5 gans 2007-04-22 13:47:56 UTC
Created attachment 3495
Comment 6 gans 2007-04-22 13:48:25 UTC
Created attachment 3496
Comment 7 gans 2007-04-22 13:49:09 UTC
Created attachment 3497
Comment 8 gans 2007-04-22 13:50:22 UTC
Created attachment 3498
Comment 9 gans 2007-04-22 13:51:09 UTC
Created attachment 3499
Comment 10 gans 2007-04-22 13:52:23 UTC
Created attachment 3500
Comment 11 gans 2007-04-22 13:52:46 UTC
Created attachment 3501
Comment 12 gans 2007-04-22 13:53:20 UTC
Created attachment 3502
Comment 13 gans 2007-04-22 13:53:44 UTC
Created attachment 3503
Comment 14 gans 2007-04-22 13:54:05 UTC
Created attachment 3504
Comment 15 Steve Sanbeg 2007-04-23 15:26:15 UTC
Comment on attachment 3499
Comment 16 Steve Sanbeg 2007-04-23 15:26:42 UTC
Comment on attachment 3500
Comment 17 Jason Potkanski 2007-04-23 15:33:53 UTC
Comment on attachment 3494


squish
Comment 18 Jesse (Pathoschild) 2007-06-27 19:02:27 UTC
Closed per comment #3 and the lack of responses since.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links