On one of my wiki, I put it in the template, in the footer of the page. So it 
is there all the time
And if diag is enable, the info is also there, so is it really a need for an 
action in thecore of Pmwiki?
Stéphane 


 -----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  On Behalf Of [EMAIL 
PROTECTED]
Sent:   jeudi 12 avril 2007 9:45
To:     [EMAIL PROTECTED]
Subject:        [pmwiki-users] Adding something like '?action=version'? 
(Was:Version of Pmwiki)

 << File: ATT6080534.txt >> On Thu, 12 Apr 2007, Petko Yotov wrote:

>> How do I check the version of pm I am running?
>
> Put {$Version} in some wiki page.

I've used that now and then, and it is a bit annoying to have to edit a 
wiki page in order to do it. The page

        http://wiki.lyx.org/PmWiki/PmWiki

does reveal what version is used, but I never remember to look at that 
page - maybe because the information is not very visible.

We could add a dedicated page to the PmWiki/-pages that says what version 
is running, e.g. the page

        http://pmwiki.org/wiki/PmWiki/Version

which I just created to illustrate this.

Another alternative is to have a special action that returns the version, 
possibly with other information. It'd be similar to 'action=diag', but 
with less information (and enabled by default). If the name of the action 
could be for instance

        ?action=PmWiki-version

Another way could be to have an action that returns the value of a 
variable, i.e. the call would be

        ?action=variable&v=Version

The reason I mention this latter alternative is that it might be useful 
for an external application such as 'pmwiki-mode'.

These are all just loose ideas that I thought I'd throw to the list before 
I forget them.

Best regards
/Christian

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


sa Banksys nv - Chaussee de Haecht 1442 Haachtsesteenweg 
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."


_______________________________________________
pmwiki-users mailing list
[EMAIL PROTECTED]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to