Last modified: 2006-06-17 18:34:20 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 T8339, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6339 - Tables do not display blank cells with frame using  
Tables do not display blank cells with frame using  
Status: RESOLVED DUPLICATE of bug 5569
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.7.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-17 11:19 UTC by Gunter Schmidt
Modified: 2006-06-17 18:34 UTC (History)
0 users

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


Attachments

Description Gunter Schmidt 2006-06-17 11:19:18 UTC
Table parsing does not work like expected:

  does not work to fill empty tables.
If you look at the table at preview, it looks alright, but the   seems to get lost

Example:
This is a complex table:

{|border="2" cellspacing="0" cellpadding="4" width="100%"
|align = "center"|'''Heading'''
|align = "center"|'''Heading'''
|align = "center"|'''Heading'''
|align = "center"|'''Heading'''
|-
|Text 1
|Text2
| 
|Text4
|-
|bgcolor = "#FF0000"|<font color="#000000">Background colors</font>
|bgcolor = "#000000"|<font color="#FFFFFF">Background colors</font>
|bgcolor = "#FFFF00"|<font color="#0000FF">Back</font><font color="#FF0000">ground</font> <font 
color="#008000">colors</font>
|&nbsp;
|-
|left
|align = "center" bgcolor = "#CCFFCC"|centered and <font color="#FF00FF">colors</font><br><br><font 
color="#FF0000">and some blank</font><br><br><font color="#33CCCC">lines</font>
|align = "right"|right
|align = "justify"|justified text is <u>not</u> supported by MediaWiki. I need to write a litte 
more in this cell so there is enough text to see the effects of justification
|-
|Merged cells<br>horizontally
|align = "right" bgcolor = "#33CCCC" colspan = "2"|Horizontally merged
|align = "justify"|Merging has limitations!
|-
|Merged cells<br>vertically 1
|bgcolor = "#FFCC00" rowspan = "2"|Vertically merged
|<font size = "4">'''nested tables:'''</font><br>
{|border="2" cellspacing="0" cellpadding="4" width="100%"
|align = "center" bgcolor = "#FF99CC"|A
|align = "center" bgcolor = "#FF00FF"|B
|-
|align = "right" colspan = "2"|merged and right
|-
|align = "center" bgcolor = "#CC99FF"|C
|align = "center" bgcolor = "#993366"|<font color="#000000">&nbsp;</font>
|-
|}
<br>with text above and below<br>
|align = "justify"|Merging has limitations!
|-
|Merged cells<br>vertically 2
|align = "right"|&nbsp;
|align = "justify"|&nbsp;
|-
|}
Comment 1 Gunter Schmidt 2006-06-17 11:21:46 UTC
Simpler Table:

{|border="2" cellspacing="0" cellpadding="4" width="90%" align="center"
|'''What we can<nowiki>'</nowiki>t do yet'''
|&nbsp;
|align = "center"|text orientation<br>(turned sideways)
|not full width of table and table position
|-
|exact width of cells
|&nbsp;
|&nbsp;
|&nbsp;
|-
|bgcolor = "#FFFF00"|frame-styles
|&nbsp;
|&nbsp;
|&nbsp;
|-
|}<br clear="all">
Comment 2 Brion Vibber 2006-06-17 11:24:42 UTC
Seems fine.
Comment 3 Gunter Schmidt 2006-06-17 15:02:34 UTC
After further testing I found, that this happens only under a certain condition:
If a normal text line has a blank space in the beginnen, the following tables will be messed up.
This issue is new to 1.7, 1.6.x works fine.

-- to be inserted in your wiki --

some text.
 some text (this line to have a space in the beginning, so it will get framed.)
some text.

{|border="2" cellspacing="0" cellpadding="4" width="90%" align="center"
|'''What we can<nowiki>'</nowiki>t do yet'''
|&nbsp;
|align = "center"|text orientation<br>(turned sideways)
|not full width of table and table position
|-
|exact width of cells
|&nbsp;
|&nbsp;
|&nbsp;
|-
|bgcolor = "#FFFF00"|frame-styles
|&nbsp;
|&nbsp;
|&nbsp;
|-
|}<br clear="all">

-- end of syntax --
Comment 4 Brion Vibber 2006-06-17 18:34:20 UTC

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

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


Navigation
Links