[pmwiki-users] Disabling automatic edit when linking to blank pages

The Editor editor at fast.st
Mon Jul 2 06:17:33 CDT 2007


On 7/2/07, Benoit Dutilleul <benoit.dutilleul at googlemail.com> wrote:
> How can I:
> [1] Disable the automatic edit when clicking on a link to a new page?
> [2] Have the link look like a link to an existing page?
>
> I need this to be enabled on a single wiki of my farm.


I think this answers question 2.

$LinkPageCreateFmt = "<a class='wikilink' rel='nofollow'
href='{\$PageUrl}'>\$LinkText</a>";

As for question 1, Edit protecting the page might do it... Or you may
be able to put a conditional in the site.editform page based on the
group.  Maybe someone else will know more.

Cheers,
Dan



More information about the pmwiki-users mailing list