Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Wikitext:: "/wiki/" added to parsed links
Wikitext:: "/wiki/" added to parsed links [message #1016281] Tue, 05 March 2013 19:38 Go to next message
Marek Małkiewicz is currently offline Marek MałkiewiczFriend
Messages: 3
Registered: March 2013
Junior Member
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 15:59 Go to previous messageGo to next message
Yves Brissaud is currently offline Yves BrissaudFriend
Messages: 1
Registered: March 2013
Junior Member
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 18:33 Go to previous message
Marek Małkiewicz is currently offline Marek MałkiewiczFriend
Messages: 3
Registered: March 2013
Junior Member
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:Creole syntax contribution for WikiText
Next Topic:Eclipse freezes on startup
Goto Forum:
  


Current Time: Thu Nov 27 17:28:09 GMT 2014

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

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