Last modified: 2013-06-21 02:45:03 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 T51296, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49296 - Bad bulleted list parsing
Bad bulleted list parsing
Status: RESOLVED DUPLICATE of bug 41289
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Gabriel Wicke
:
Depends on: 41289
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-07 08:52 UTC by Kelson [Emmanuel Engelhart]
Modified: 2013-06-21 02:45 UTC (History)
1 user (show)

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


Attachments

Description Kelson [Emmanuel Engelhart] 2013-06-07 08:52:43 UTC
This wiki code generates a bulleted list with two bullets:
* {{INSEE|National Institute of Statistics and Economic Studies}}

It shouldn't.

This is maybe a (duplicate?) bug report related to a template inclusion/parsing problem... too difficult to me to identify where exactly is the problem.
Comment 1 ssastry 2013-06-07 15:43:14 UTC
Related: Bug 41289
Comment 2 ssastry 2013-06-20 22:10:20 UTC
Looks like PHP parser / tidy strips empty list items.

*
* a
*
* b
* 

renders as <ul><li>a</li><li>b</li></ul>

whereas Parsoid generates the three empty list items.  Something to investigate if we want to strip out the empty list items as well.
Comment 3 Gabriel Wicke 2013-06-20 22:27:25 UTC
Stripping empty list items in general would create a lot of problems for round-tripping and editing, so we don't want to go down that path. 

In bug 41289 we are working on supporting the special case of a HTML-syntax list item inside a wikitext-syntax list item. Once that has landed, templates like INSEE can be converted to use a HTML-syntax <li> instead of the newline and bullet instead, and the result will render just as it does now both in the PHP parser and Parsoid.
Comment 4 Gabriel Wicke 2013-06-21 02:45:03 UTC
I'll go ahead and merge this with bug 41289. The WikiText syntax part here is really WONTFIX on our end.

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

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


Navigation
Links