[pmwiki-users] Is it possible to combine a concept of URL and a WikiWord together.

Patrick R. Michaud pmichaud at pobox.com
Wed Nov 9 10:55:23 CST 2005

On Sat, Oct 29, 2005 at 11:12:08PM +1000, Ivan Teliatnikov wrote:
> I wonder if it was possible to have WikiWords (aka URL) combined
> together. Bt default when a user clicks on such WikiWord, instead of
> opening the local copy of the WikiWord,  browser opens the URL in a new
> window. When URL changes, one can change it using  "local edit" mode. In
> "local edit" mode a WikiWord behaves like any other WikiWord and can be
> edited as usual.

Sure, simply set a new value for $LinkPageExistsFmt in local/config.php:

  $LinkPageExistsFmt = 
    "<a target='_blank' class='wikilink' href='\$LinkUrl'>\$LinkText</a>";

Then all wikilinks will open in a new window.


More information about the pmwiki-users mailing list