Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Issue with link parser

    Wiki Discussion
    5
    6
    3321
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      florent.revelut last edited by

      On page http://developer.qt.nokia.com/wiki/Category:Learning::LinksAndMaterial
      microsoft url look like
      @http://msdn.microsoft.com/en-us/library/ty9hx077(VS.80).aspx@

      When representing correctly in wiki syntax, it leads to
      @"VS 2005":http://msdn.microsoft.com/en-us/library/ty9hx077(VS.80).aspx@

      However, it's displayed badly and link is broken:
      @VS 2005 [msdn.microsoft.com]).aspx@

      => it looks like parenthesis breaks the wiki parser

      I tried to replace parenthesis by their URLencoded equivalent (remove space between % and number otherwise forum syntax breaks it....)
      @ ( => % 28@
      @ ) => % 29@
      Which leads to (remove spaces as well)
      @"VS 2005":http://msdn.microsoft.com/en-us/library/ty9hx077 % 28 VS.80 % 29 .aspx@

      In preview, my link is working, but when submitting change, it's again broken.

      Any idea ?

      1 Reply Last reply Reply Quote 0
      • G
        goetz last edited by

        It's a know limitation of the wiki parser.

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • A
          andre last edited by

          The real problem is, is that the actual link doesn't work either.

          1 Reply Last reply Reply Quote 0
          • G
            giesbert last edited by

            We should make a Jira entry, or does one exist?
            Links with characters like brakets do not work by the parser. If you copy / paste the link, it works....

            [quote author="florent.revelut" date="1300281623"]
            @ ( => % 28@
            @ ) => % 29@
            Which leads to (remove spaces as well)
            @"VS 2005":http://msdn.microsoft.com/en-us/library/ty9hx077 % 28 VS.80 % 29 .aspx@

            In preview, my link is working, but when submitting change, it's again broken.

            Any idea ? [/quote]

            That this does not work is located in the issue, that the wiki engine seems to replace the %n umber by the character at stroing the post....

            Nokia Certified Qt Specialist.
            Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

            1 Reply Last reply Reply Quote 0
            • G
              goetz last edited by

              Right. I fixed the links.

              I'm not sure if those worked in the first place and the wiki engine was changed afterwards (I normally check problematic links before saving a post or wiki page, but I cannot tell for sure here).

              http://www.catb.org/~esr/faqs/smart-questions.html

              1 Reply Last reply Reply Quote 0
              • S
                stemd last edited by

                Same problem here:

                http://developer.qt.nokia.com/forums/viewthread/12021/#65745

                Thanks!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post