Patrick Ogay wrote:
> Hello,
> 
> I just remarkted that URL like
> [[http://de.wikipedia.org/wiki/Notation_(Musik)|Notation]]
> are not correctly resolved.
> Test:
> http://www.pmwiki.org/wiki/Test/URL

The problem is that parenthesis have special meanings inside PmWiki links, and
so you need to use an URL like

 [[http://de.wikipedia.org/wiki/Notation_%28Musik%29|Notation]]

instead. I've long thought that we should have a special escape notation to
make such links easier to generate. Thus one might have:

 [[http://de.wikipedia.org/wiki/Notation_\(Musik\)|Notation]]

resolve the same way. Of course, if we were to introduce an escape mechanism,
I'd also want to be able to use it to override PmWiki's page naming convention
so that one could have a link like:

  [[Foo\ Bar]]

link to a page called 'Foo Bar' (Foo%20Bar in a URL), and

  [[\foo]]

could link to a page called 'foo' instead of 'Foo'. This would allow you to
have page names like 'iPod' and 'Ipod' which were distinct. Of course, that
would have implications for the underlaying file names used to store the pages
as well, especially on file systems that fold case.



_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to