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

Bug 311755

Summary: [mediawiki to eclipse help] multi-line piped links not handled
Product: z_Archived Reporter: Nicolas Bros <nicolas.bros>
Component: MylynAssignee: David Green <greensopinion>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: nicolas.guyomar
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 311750    
Attachments:
Description Flags
mylyn/context/zip none

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.