March 16, 2011

florent.revelut florent.reve..
Lab Rat
103 posts

Issue with link parser

 

On page http://developer.qt.nokia.com/wiki/Category:Learning::LinksAndMaterial
microsoft url look like

  1. http://msdn.microsoft.com/en-us/library/ty9hx077(VS.80).aspx

When representing correctly in wiki syntax, it leads to

  1. "VS 2005":http://msdn.microsoft.com/en-us/library/ty9hx077(VS.80).aspx

However, it’s displayed badly and link is broken:

  1. 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….)

  1.  ( => % 28

  1.  ) => % 29

Which leads to (remove spaces as well)
  1. "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 ?

5 replies

March 16, 2011

Volker Volker
Robot Herder
5428 posts

It’s a know limitation of the wiki parser.

March 16, 2011

Andre Andre
Area 51 Engineer
6031 posts

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

 Signature 

Looking for Qt developers to join our team @ i-Optics: https://qt-project.org/forums/viewthread/25393/

March 16, 2011

Gerolf Gerolf
Area 51 Engineer
3210 posts

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….

florent.revelut wrote:

  1.  ( => % 28

  1.  ) => % 29

Which leads to (remove spaces as well)
  1. "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 ?

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….

 Signature 

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

March 16, 2011

Volker Volker
Robot Herder
5428 posts

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).

November 30, 2011

stemd stemd
Lab Rat
10 posts

Same problem here:

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

Thanks!

 
  ‹‹ Right-to-Left problem      New Qt for Embedded Linux Series started ››

You must log in to post a reply. Not a member yet? Register here!