Bug 338929 - [mediawiki] multi-line table cells are not correctly supported
Summary: [mediawiki] multi-line table cells are not correctly supported
Status: RESOLVED DUPLICATE of bug 381912
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: David Green CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2011-03-04 08:44 EST by mylindefect CLA
Modified: 2012-07-30 20:45 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (6.32 KB, application/octet-stream)
2011-03-04 11:57 EST, David Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mylindefect CLA 2011-03-04 08:44:13 EST
I am using the mylin ant wikitext-to-html task with the MediaWiki language. I need to put several filesystem paths in a table cell, so I have been trying to use bullet points to clearly separate them. However it has not produced the result I wanted.

The code below demonstrates the problem I am having.


Input markup:

{| border="1"
|*Test
*Test
|}


Output:

<table border="1"><tr><td>*Test</td></tr></table>



Desired result:

<table border="1"><tr><td><ul><li>Test</li><li>Test</li></ul></td></tr></table>



I believe the markup I use displays as I intended in wikipedia, though I realise this doesn't necessarily mean it should display the same way using mylin. I don't mind if I don't use bullets, as long as I can put the paths on separate lines. I have tried using <br />, various whitespace, and internal tables amongst others, none of which work as I expected.

I am new to the wikitext-to-html task, but I have tried to use the docs at
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. mylyn.wikitext.help.ui/help/Mylyn%20WikiText%20User%20Guide. html
and
http://www.mediawiki.org/wiki/Help:Tables
but these have not been very helpful in this case.

Thank you for your help.
Comment 1 mylindefect CLA 2011-03-04 08:45:06 EST
Originally brought to the community at http://www.eclipse.org/forums/index.php?t=msg&goto=657591&S=5529e1f09095e3a85917ae55a8f65339#msg_657591
Comment 2 David Green CLA 2011-03-04 11:57:13 EST
thanks for the bug.  The problem appears to be twofold:
# multi-line table cells are not correctly handled
# table cells don't support nested block content
Feel free to attach a patch.  I've added a Mylyn context with the relevant files.
Comment 3 David Green CLA 2011-03-04 11:57:15 EST
Created attachment 190412 [details]
mylyn/context/zip
Comment 4 David Green CLA 2012-07-30 20:44:45 EDT
related: bug 381912
Comment 5 David Green CLA 2012-07-30 20:45:45 EDT
marking as duplicate since bug 381912 has a contribution that resolves this issue.

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