Last modified: 2013-09-06 15:50:36 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 T55819, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53819 - Table breaks if you press return to create a new paragraph in the middle of a cell, but only if all cells are on one line
Table breaks if you press return to create a new paragraph in the middle of a...
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-05 18:29 UTC by WhatamIdoing
Modified: 2013-09-06 15:50 UTC (History)
2 users (show)

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


Attachments

Description WhatamIdoing 2013-09-05 18:29:38 UTC
In an article like https://en.wikipedia.org/wiki/Contactless_smartcards_on_the_railways_of_Britain

the table is formatted so that all cells in a row are on one line:

{|
! A A !! B B !! C C
|-
| A 1 || B 1 || C 1
|} 

If you want the table cells to display on separate lines, then you must either add the line break as HTML code, or reformat the table so that each cell is on a separate line.

This is broken:

{|
! A A !! B B !! C C
|-
| A
1 || B 1 || C 1
|} 

This works:
{|
! A A !! B B !! C C
|-
| A<br>1 || B 1 || C 1
|} 

and this works:

{|
! A A !! B B !! C C
|-
| A 1 
| B 1 
| C 1
|} 


See https://en.wikipedia.org/w/index.php?title=User:Whatamidoing_(WMF)/sandbox&diff=571673983&oldid=571673868 vs https://en.wikipedia.org/w/index.php?title=User:Whatamidoing_(WMF)/sandbox&diff=571674676&oldid=571673983
Comment 1 Bartosz Dziewoński 2013-09-06 15:50:36 UTC
That's the expected behavior. The one-line table row syntax is for one-line cells.

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


Navigation
Links