[pmwiki-users] Customizable Access-Keys

Nils Knappmeier nk at knappi.org
Tue Mar 22 13:21:40 CST 2005


Joachim Durchholz wrote:

> Nils Knappmeier wrote:
>
>> 1) Store all the information in one (or multiple) cookie(s) that is 
>> readable by every server on the internet.
>> 2) Use the cookie to store the URL of a website, that contains the 
>> information.
>
> >
>
>> With "information" I mean,
>> 1) The access key
>> 2) a String like "pagename?action=..." is used to create the URL of 
>> the link that should be associated with the access key
>>    pagename should be something like MyGroup.MyPage, but also 
>> possible {$Group}.MyPage or {$Group}.{$Page}
>> If the current page is Main.HomePage on pmwiki.org, something like 
>> ":4:{$Group}.SideBar?action=edit" would translate into a link
>> <a href="http://www.pmwiki.org?n=Main.SideBar?action=edit" 
>> accesskey="4"></a>, to allow editing the SideBar by pressing "Alt+4"
>
>
> No accesskeys in the URLs.

> Ideologically, a Uniform Resource Locator should reflect the resource 
> it refers to, not user preferences.

I think you misunderstood me. "2) Use the cookie to store the URL of a 
website, that contains the information." means:
The cookie stores the URL (e.g. 
http://www.knappi.org/index.php/Main/AccessKeys?action=source), and the 
file at this URL contains the information
about the user preferences. The URL of the wikipage is untouched. I put 
up a sample file with my configuration at this location...

Nils





More information about the pmwiki-users mailing list