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

noskule noskule at gmx.net
Mon Jul 2 12:53:55 CDT 2007


Benoit Dutilleul schrieb:
> Dear all,
> 
> I found the answers to my initial question myself. Thank you Dan for
> your contribution.
> The only thing I had to do was to add ?action=browse to the links!
> 
> Now, I have a new question: how can I disable - for a specific wiki of
> my farm - the display of the following message on an empty wiki page:
> "The page "Group/Name" doesn't exist. (Create Group.Name)"
Change Site.PageNotFound

> 
> Kind regards,
> 
> Benoit
> 
> 2007/7/2, The Editor <editor at fast.st>:
>> 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
>>
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> 




More information about the pmwiki-users mailing list