Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311755 - [mediawiki to eclipse help] multi-line piped links not handled
Summary: [mediawiki to eclipse help] multi-line piped links not handled
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David Green CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 311750
  Show dependency tree
 
Reported: 2010-05-05 11:22 EDT by Nicolas Bros CLA
Modified: 2013-08-02 12:44 EDT (History)
1 user (show)

See Also:


Attachments
mylyn/context/zip (7.44 KB, application/octet-stream)
2010-05-05 12:22 EDT, 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 2010-05-05 11:22:40 EDT
A link like "[[MoDisco/QueryManager|create a query set]]" does not seem to be handled; the wiki markup appears as-is in the output.

See http://meta.wikimedia.org/wiki/Help:Piped_link
Comment 1 Nicolas Guyomar CLA 2010-05-05 11:31:58 EDT
Hi Nicolas,

This problem occurs when piped links are declared on several lines in Mediawiki

Mediawiki does not have a problem with that, so 

[[MoDisco/QueryManager
|create a query set]]

and 

[[MoDisco/QueryManager|create a query set]]

are resolved in Mediawiki, not with mediawiki-to-eclipse-help


Regards

Nicolas
Comment 2 David Green CLA 2010-05-05 12:21:59 EDT
(In reply to comment #1)
> This problem occurs when piped links are declared on several lines in Mediawiki

Yes, that's the problem: Mylyn WikiText handles these links just fine as long as they're on one line.  If they're split over multiple lines then Mylyn WikiText has problems detecting them.

Mylyn WikiText processes markup one line at a time.  As a result, fixing this bug will likely require significant effort.
In the short term I recommend modifying your links so that they don't span multiple lines.
Comment 3 David Green CLA 2010-05-05 12:22:39 EDT
Created attachment 167168 [details]
mylyn/context/zip
Comment 4 David Green CLA 2013-08-02 12:44:13 EDT
Closed as part of backlog clean-up.  Please re-open if you'd like to see this revisited, perhaps with a contribution.