Menu

New installation - issue with wiki

Help
2006-05-24
2013-04-17
  • Alasdair Young

    Alasdair Young - 2006-05-24

    I've just grabbed the latest (standalone) version of XPlanner and I'm trying to get it to talk to Twiki correctly.

    I have added a "Project wiki link" (under "edit" when looking at the top level of my project) and set it to:

    http://engshare/twiki/bin/view

    When I create a WikiWord, the link points to:

    http://engshare:7070/do/view/%3Ca%20href=%22http://c2.com/cgi/wiki?AutodeskFacilityMapping%22%20target=%22_top%22%3Ehttp://c2.com/cgi/wiki?AutodeskFacilityMapping%3C/a%3E

    I guess something is hard-coded that shouldn't be?

    Any ideas how to fix this?

     
    • Alasdair Young

      Alasdair Young - 2006-05-24

      (Note that engshare is running both XPlanner and Twiki)

       
    • Jacques Morel

      Jacques Morel - 2006-05-24

      This is an old bug: http://jira.codehaus.org/browse/XPR-19

      Jacques

       
    • Alasdair Young

      Alasdair Young - 2006-05-25

      Thanks.

      Any idea how I can fix it? Is there any kind of workaround? All I saw was:

      " I've found some time to look into this issue, and it appears that in the delightful TwikiFormat.format method, the chunk of code that handles external wiki linking has been moved after the chunk of code that handles URLs; the result is that the wiki formatter creates external wiki links, which the URL reformatting code then merrily processes again! For the time being I have moved the URL handling bit to immediately before the wiki linking bit and this fixes the problem for me. I assume the real answer is probably to fix the pattern used by the URL stuff not to match things already in an href attribute; but it's Monday morning and I can't face large chunks of regex right now... :-)"

      but this isn't overly helpful to me (a completely new user) - any thoughts?

       
      • Jacques Morel

        Jacques Morel - 2006-05-25

        I already fixed it. The fix will be available in the next release.

        Jacques

         
    • Alasdair Young

      Alasdair Young - 2006-05-25

      If I grab the latest subversion copy, it should work?

       
    • Jacques Morel

      Jacques Morel - 2006-05-25
       
      • Anonymous

        Anonymous - 2007-01-04

        Hi, I am using Version 0.7b7 built 05/24/2006 (rev 1149).

        I still see this problem. What else should I try?

        Here are my settings for our MediaWiki from xplanner-custom.properties:
        twiki.scheme.wiki=http://intus002/cgi/wiki?$1
        twiki.wikiadapter=com.technoetic.xplanner.wiki.SimpleWikiAdapter
        #twiki.wikiadapter=com.technoetic.xplanner.wiki.GenericWikiAdapter
        twiki.wikiadapter.topic.url.existing=http://intus002/index.php/${word}
        twiki.wikiadapter.topic.url.new=http://intus002/index.php?title=${word}&action=edit
        twiki.wikiadapter.topic.newpattern=.*This is a new topic.*

        The XPlanner project has this as the Project wiki link:
        http://intus002/cgi/wiki?$1

        Any help would be appreciated.  The link's generated for a word in a note like TestWiki is:
        http://intus002:8080/xplanner/do/view/%3Ca%20href=%22http://intus002/index.php/TestWiki%22%20target=%22_top%22%3Ehttp://intus002/index.php/TestWiki%3C/a%3E

         
      • software123

        software123 - 2007-01-10

        I am having the same problem as alasdairyoung.
        I have installed the standalone version from the download page.
        Is there a simple patch available to fix this problem ?

         
    • Anonymous

      Anonymous - 2007-01-24

      Hi Jacques,

      Just wondering if you could let me know if I'm using the wrong version as I am still seeing the broken wiki links as reported in my comment above.

      Thanks,
      Guy

       

Log in to post a comment.