Last modified: 2014-03-13 17:54: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 T54535, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52535 - Extra empty row in table causes new table containing a chess pawn to appear
Extra empty row in table causes new table containing a chess pawn to appear
Status: RESOLVED INVALID
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Gabriel Wicke
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks: ve-tablesupport
  Show dependency treegraph
 
Reported: 2013-08-05 00:58 UTC by WhatamIdoing
Modified: 2014-03-13 17:54 UTC (History)
1 user (show)

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


Attachments

Description WhatamIdoing 2013-08-05 00:58:13 UTC
A proper wikitable ends with the contents of the last cell, followed by |}.  If you instead end with the contents of the last cell, followed by a stray 'new row' like this:

|-
|}

then the result is two tables, including one that contains only a chess pawn.
Comment 1 ssastry 2013-08-09 18:17:09 UTC
Not true in general.  Try the following @ http://parsoid.wmflabs.org/_wikitext/

{|
|-
|foo
|-
|}


I'll look at the diff you provided and see what is going on.
Comment 2 ssastry 2013-08-09 18:28:16 UTC
I created a test page here: http://en.wikipedia.org/wiki/User:Ssastry/Bug_52535 by copying the contents from the Leukemia page.

I cannot reproduce the exact error.

However, try this:

1. move the mouse int the empty row and click
2. Hit Delete to delete the row.
3. The row disappears but an empty table appears on the page.
4. Save -> Review changes and you'll notice the new empty table insstead of the old empty row.

So, I imagine what happened is that the editor saw the empty row in VE and tried to delete it.  VE deleted it but for some reason left a quoted pawn in place as well -- that might be something going on in VE which might been since fixed or not.  I am going to close this bug as invalid -- feel free to reopen it on the VE end based on what you discover.

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


Navigation
Links