Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337537

Summary: [mediawiki] Can't handle multi-line templates
Product: z_Archived Reporter: Nicolas Bros <nicolas.bros>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: RESOLVED WONTFIX QA Contact: David Green <greensopinion>
Severity: major    
Priority: P3 CC: john.arthorne
Version: 1.4Keywords: helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Nicolas Bros CLA 2011-02-18 05:03:45 EST
WikiText seems to have a bug in the handling of multiline nested templates.
Each of our wiki pages start with something like:

{{MoDiscoTabs|ModelBrowser|
 {{MoDiscoTab|ModelBrowser|Documentation|0.7}}{{MoDiscoTab|ModelBrowser|Documentation|0.8}}{{MoDiscoTab|ModelBrowser|Documentation|0.9}}{{MoDiscoTab|ModelBrowser|Architecture|}}
}}

(notice the closing "}}" on the last line)

and each of our generated Eclipse documentation pages start with a spurious "}}" string.
Comment 1 David Green CLA 2011-03-03 00:41:18 EST
Thanks for the bug -- indeed, nested templates don't work correctly, and templates only work correctly if they're on a single line.
Comment 2 David Green CLA 2011-03-03 00:41:54 EST
Created attachment 190235 [details]
mylyn/context/zip
Comment 3 John Arthorne CLA 2011-05-09 16:24:16 EDT
*** Bug 345201 has been marked as a duplicate of this bug. ***
Comment 4 John Arthorne CLA 2011-05-09 16:25:36 EDT
Taking the liberty of changing title because I just entered a duplicate but missed this one because of the title.
Comment 5 John Arthorne CLA 2011-05-09 16:27:05 EDT
Increased severity. We are evaluating using wikitext for the Orion project, but lack of support for multi-line templates is a big problem for us.
Comment 6 Jeremie Bresson CLA 2012-10-17 14:19:24 EDT
The improvements proposed in Bug 387880 address this issue.
Comment 7 David Green CLA 2013-08-02 12:43:33 EDT
Closed as part of backlog clean-up.  Please re-open if you'd like to see this revisited, perhaps with a contribution.