[pmwiki-users] link if the target page is writeable

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Fri Mar 2 02:47:03 CST 2007


On Thu, 1 Mar 2007, Patrick R. Michaud wrote:

>> I think I'd prefer a directive that disables showing all links to
>> non-readable pages, e.g.
>>
>> 	[[Target page]]   - becomes link
>>
>> 	(:no-links-to-nonreadable-pages:)
>>
>> 	[[Target page]]	  - does not become link
>
> But I suspect that a common usage pattern for something like
> this would be in lists of various sorts:
>
>    * [[Target 1]]
>    * [[Target 2]]
>    * [[Target 3]]
>
> Suppose the visitor doesn't have read permission to Target2.  Do
> they then see ... ?
>
>    * Target 1
>    *
>    * Target 3

That depends on what Tegan (?) wants I guess. As I understood it, the name 
of the page should render as normal but not become a link? I.e.

>    * Target 1   (link)
>    * Target 2   (not link)
>    * Target 3   (link)

Don't know how this would affect trails though.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


More information about the pmwiki-users mailing list