[Pmwiki-users] Re: Re: Re: Re: Action to provide last modified date and md5 checksum
Jonathan Scott Duff
duff
Mon Jul 12 15:50:19 CDT 2004
On Mon, Jul 12, 2004 at 09:14:39PM +0200, Christian Ridderstr??m wrote:
> On Mon, 12 Jul 2004, Patrick R. Michaud wrote:
>
> > On Mon, Jul 12, 2004 at 02:47:06PM +0200, Christian Ridderstr?m wrote:
> > > On Mon, 12 Jul 2004, Patrick R. Michaud wrote:
> > > > On Mon, Jul 12, 2004 at 10:34:43AM +0200, Christian Ridderstr?m wrote:
> > > > > [...] Which reminds me... there ought to
> > > > > be a way to ask pmwiki what version it's running -- so that you know what
> > > > > basic features it support.
> > > >
>
> > Approach #1: ?action=version
> >
> > if ($action=='version') {
> > header("Content-type: text/plain");
> > print $Version;
> > exit();
> > }
>
> I think #1 is the best. Although I'm not sure 'version' is the best
> choice... what if we in the future want to use 'action=version' in order
> to get something like a version number of a wiki page?
>
> For that reason I think it'd be better if we used 'action=pmwiki-version'
> or 'action=PmWiki-version'. What do you think?
Sure, but make it 'pmwiki-version' :-) Or at least pmwiki should be
agnostic about the case.
-Scott
--
Jonathan Scott Duff
duff at pobox.com
More information about the pmwiki-users
mailing list