Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Wiki Discussion
  4. Issue with link parser
Forum Update on Monday, May 27th 2025

Issue with link parser

Scheduled Pinned Locked Moved Wiki Discussion
6 Posts 5 Posters 3.8k Views
  • 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 Offline
    F Offline
    florent.revelut
    wrote on 16 Mar 2011, 13:20 last edited by
    #1

    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
    0
    • G Offline
      G Offline
      goetz
      wrote on 16 Mar 2011, 14:11 last edited by
      #2

      It's a know limitation of the wiki parser.

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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on 16 Mar 2011, 14:21 last edited by
        #3

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

        1 Reply Last reply
        0
        • G Offline
          G Offline
          giesbert
          wrote on 16 Mar 2011, 14:49 last edited by
          #4

          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
          0
          • G Offline
            G Offline
            goetz
            wrote on 16 Mar 2011, 14:55 last edited by
            #5

            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
            0
            • S Offline
              S Offline
              stemd
              wrote on 30 Nov 2011, 15:58 last edited by
              #6

              Same problem here:

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

              Thanks!

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved