Last modified: 2012-08-14 11:43:33 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 T6759, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4759 - Table headers !! and cells || should behave the same way
Table headers !! and cells || should behave the same way
Status: RESOLVED DUPLICATE of bug 549
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
PC All
: Normal normal with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/Help_t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-26 06:03 UTC by Omegatron
Modified: 2012-08-14 11:43 UTC (History)
1 user (show)

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


Attachments
a patch (2.98 KB, patch)
2007-03-20 22:50 UTC, Carl Fürstenberg
Details

Description Omegatron 2006-01-26 06:03:30 UTC
{|
| Header 1 || Header 2 || Header 3
|}

works as expected:

<td>Header 1</td><td>Header 2</td><td>Header 3</td>

----

{|
! Header 1 !! Header 2 !! Header 3
|}

works as expected:

<th>Header 1</th><th>Header 2</th><th>Header 3</th>

----

{|
! Header 1 || Header 2 || Header 3
|}

does not work as expected:

<th>Header 1</th><th>Header 2</th><th>Header 3</th>

All three cells are headers.  It should only make the first cell a header. 
Instead, you have to put:

{|
! Header 1 
| Header 2 || Header 3
|}
Comment 1 Carl Fürstenberg 2007-03-20 22:50:10 UTC
Created attachment 3370 [details]
a patch

I made a patch that will "fix" the problem. sadly it will break an earlier fix,
when delimiters are inside tag attributes. It might be fixable. don't know if
it will break anything else.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-05-03 00:18:14 UTC

*** This bug has been marked as a duplicate of 549 ***

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


Navigation
Links