[pmwiki-users] How to distinguish external links and site links?

Roman romat2 at gmail.com
Wed Apr 5 17:42:08 CDT 2006


Hello,

I've noticed that a lot of external links on a site that I'am
administering look like this:

%newwin% http://www.external.com Images:newwin.gif

I thought it would be useful to setup external links more
authorfriendly i.e. to add %newwin% (target=_blank) and icon
automatically. I set it up according to
http://www.pmwiki.org/wiki/Cookbook/ExternalLinks recipe but
unfortunately all non-wiki links use the same format so all links to
other parts of the site (on the same server) also open new window.
Same case for attachment links. Is there a way how to distinguish
those types of links?

Roman




More information about the pmwiki-users mailing list