[Moin-user] Re: Linking directly to edit page.

Yusuf Abdulghani yusuf at apple.com
Mon Feb 28 13:50:55 EST 2005


On Feb 25, 2005, at 1:57 PM, Alexander Schremmer wrote:

> On Fri, 25 Feb 2005 13:46:49 -0000, Nigel Harper wrote:
>
>> Is it possible to insert a link to open a Wiki page in edit mode?
>>
>> Using the full URL http://example.com/MyWiki/MyPage?action=edit works 
>> but
>> appears as an external link on the referring page, which is not ideal.
>>
>> The particular use I have in mind is implementing a comments section 
>> on a
>> read only page, as suggested at the end of HelpOnAccessControlLists.  
>> With
>> the example given a user looking at SomePage has to first navigate to
>> SomePage/Comments and then edit it (2 clicks) - it would be nice if 
>> it was
>> possible to add a link to SomePage which opened SomePage/Comments for
>> editing.
>
> See MissingPage for an example.
>

Interesting solution, but does not work!

Here is what I did:

I have a page called MyPage which is not writeable. Under MyPage, I 
have a page called CommentsPage, which has read/write access to all.

In MyPage, here is what the original raw text looks like for the 
two-step process:

----
Click on the /CommentsPage to comment on this page
[[Include(/CommentsPage)]]
Click on the /CommentsPage to comment on this page
----


Based on your suggestion, I changed MyPage to this:
----
Click on the [[Action(edit,/CommentsPage)]] to comment on this page
[[Include(/CommentsPage)]]
Click on the [[Action(edit,MyPage/CommentsPage)]] to comment on this 
page
----

Both the cases as shown above takes me to edit "MyPage" instead of 
"CommentsPage".

Am I doing something wrong here?

Thanks.

Yusuf





More information about the Moin-user mailing list