Skip to main content



      Home
Home » Eclipse Projects » Mylyn » Wikitext:: "/wiki/" added to parsed links
Wikitext:: "/wiki/" added to parsed links [message #1016281] Tue, 05 March 2013 14:38 Go to next message
Eclipse UserFriend
Hello everyone,

I've just started to use Mylyn Wikitext. I try to parse some links to HTML but MarkupParser keeps adding "wiki/" before URLs:

[[some_external_link|google]] -> <a href="/wiki/some_external_link" title="some_external_link">google</a>


Where can I deactivate this?
Re: Wikitext:: "/wiki/" added to parsed links [message #1020635 is a reply to message #1016281] Mon, 18 March 2013 11:59 Go to previous messageGo to next message
Eclipse UserFriend
Just call setInternalLinkPattern on the MediaWikiLanguage instance.

Default is: setInternalLinkPattern("/wiki/{0}");
Re: Wikitext:: "/wiki/" added to parsed links [message #1020693 is a reply to message #1020635] Mon, 18 March 2013 14:33 Go to previous message
Eclipse UserFriend
Yves Brissaud wrote on Mon, 18 March 2013 11:59
Just call setInternalLinkPattern on the MediaWikiLanguage instance.

Default is: setInternalLinkPattern("/wiki/{0}");


Thx, but I've already figured it out. Smile
Could you help me please with this one : http://www.eclipse.org/forums/index.php/t/457968/

Regards,
Mark
Previous Topic:No Active Task timing.
Next Topic:[WikiText] Error while parsing more then one MediaWiki strings
Goto Forum:
  


Current Time: Wed May 21 11:52:18 EDT 2025

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

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

Back to the top