Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337537 - [mediawiki] Can't handle multi-line templates
Summary: [mediawiki] Can't handle multi-line templates
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: David Green CLA
URL:
Whiteboard:
Keywords: helpwanted
: 345201 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-18 05:03 EST by Nicolas Bros CLA
Modified: 2013-08-02 12:43 EDT (History)
1 user (show)

See Also:


Attachments
mylyn/context/zip (14.28 KB, application/octet-stream)
2011-03-03 00:41 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 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.