Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Mylyn Wikitext (Mediawiki) - Local anchor navigation broken within generated Eclipse Help
Mylyn Wikitext (Mediawiki) - Local anchor navigation broken within generated Eclipse Help [message #1695108] Tue, 12 May 2015 06:26 Go to next message
Alexander Nyssen is currently offline Alexander NyssenFriend
Messages: 235
Registered: July 2009
Location: Lünen
Senior Member
I am generating Eclipse help from the http://wiki.eclipse.org by means of Mylyn wikitext (I tried the latest 2.4 release version as well as 2.5.0.N20150420-1908).

My configuration is as follows:
<mediawiki-to-eclipse-help markuplanguage="MediaWiki" wikiBaseUrl="http://wiki.eclipse.org" navigationImages="true" validate="true" failonvalidationerror="true" prependImagePrefix="images" formatoutput="true" defaultAbsoluteLinkTarget="doc_external" dest="${basedir}/reference/wiki" helpPrefix="reference/wiki" title="${wiki.title}" generateUnifiedToc="false">
<!-- Set up which wiki pages to pull from: -->
<path name="${wiki.path}" title="${wiki.title}" generateToc="true" />
</mediawiki-to-eclipse-help>

where wiki.path and wiki.title resolve as follows:

wiki.title=GEF4 Common Documentation
wiki.path=GEF/GEF4/Common

When looking into the generated help pages, local anchors are generated as follows:

<a href="IActivatable" title="GEF/GEF4/Common#IActivatable">IActivatable</a>

Thus, these links are broken and cannot be navigated within the Eclipse help. I tried out to adjust the internalLinkPattern, but this does not seem to be evaluated for page-local anchors (only for references to other pages).

Any ideas what would have to be adjusted? Or should I file a bugzilla?
Re: Mylyn Wikitext (Mediawiki) - Local anchor navigation broken within generated Eclipse Help [message #1695116 is a reply to message #1695108] Tue, 12 May 2015 07:26 Go to previous message
Alexander Nyssen is currently offline Alexander NyssenFriend
Messages: 235
Registered: July 2009
Location: Lünen
Senior Member
It seems I ran into two issues here, so I created respective bugzillas: https://bugs.eclipse.org/bugs/show_bug.cgi?id=467067 (local links that are specified absolute are not properly extracted) and https://bugs.eclipse.org/bugs/show_bug.cgi?id=467068 (local links to headings with special chars are not properly extracted).
Previous Topic:Custom Priority Mapping Web Connector
Next Topic:Where can I find the Web Templates connector?
Goto Forum:
  


Current Time: Sat Nov 17 18:57:12 GMT 2018

Powered by FUDForum. Page generated in 0.02022 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top