Last modified: 2014-11-17 10:35:45 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 T8776, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6776 - indented embedded table leaves an unclosed DL, causing unwanted indentation
indented embedded table leaves an unclosed DL, causing unwanted indentation
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Wikipedi...
:
: 38162 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-21 23:39 UTC by Rick Block
Modified: 2014-11-17 10:35 UTC (History)
3 users (show)

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


Attachments

Description Rick Block 2006-07-21 23:39:35 UTC
The following wikisource doesn't seem to be processed correctly, generating an open DL without the corresponding close DL.
The list items should be indented to the same level, but aren't.

* list, first item
:{|
|-
{|
|-
| an embedded table || with one row
|}
|}
* another item
Comment 1 Platonides 2006-10-01 20:02:04 UTC
Workaround: enclose it into <div>s
Comment 2 Ilmari Karonen 2008-01-06 11:24:00 UTC
Bulleted lists are not required to demonstrate the bug, although it does seem to occur most often in practice when trying to include a table between bulleted list items with appropriate indentation.  Presence or absence of a blank line after the table also has no effect.  The following markup is sufficient to reproduce the bug:

:{|
|
{|
| This is indented and wrapped in two tables.
|}
|}

This should be normal, unindented text.
Comment 3 Umherirrender 2010-12-18 14:05:25 UTC
The problem is, that the indent_level is overriden by the inner table with 0 and so the dl/dd for the outer table is not closing.

The wikitext:

* list, first item
::{|
|-
:{|
|-
| an embedded table || with one row
|}
|}
* another item

only close the one indent for the inner table and only one of the outer indent, because the inner table has one indent, and that overrides the count of outer indent.
Comment 4 db [inactive,noenotif] 2012-07-05 16:50:05 UTC
*** Bug 38162 has been marked as a duplicate of this bug. ***

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


Navigation
Links