[Pmwiki-users] Re: Author tracking questions

Christian Ridderström chr
Sun Feb 1 12:46:57 CST 2004


On Sun, 1 Feb 2004, Patrick R. Michaud wrote:

> On Sun, Feb 01, 2004 at 12:23:11AM +0100, Jean-Claude wrote:
> > 
> > 1/ Is there a way to *oblige* the writer to fill in the box before PmWiki can 
> > save the page? At least to remind forgetting editors to give a name (or 
> > an alias if they want to cheat ;-)
> 
> What should PmWiki do if someone doesn't fill in the author field--should
> it return them to the edit page with a note of some sort that the author
> field is required?  (Of course this would need to be optional.)

I guess one alternative would be to have a checkbox called:

	[ ] I'm an anonymous coward

and if the name field is empty and this box isn't checked, then you're 
returned to the edit window with some message.

Speaking of checkboxes, I think there should also be a checkbox for:

	[ ] This is a minor change, don't track this change.

> > 2/ Is the variable you use for writing this Author name available to 
> > the webmaster: I'd like to include something along this line in my 
> > GroupFooter: last edited by *[[$AuthorName]]* at [[$LastModifiedHost]] 
> 
> Actually, for now I've done [[$LastModifiedBy]], to remain
> consistent with [[$LastModified]] and [[$LastModifiedHost]].
> But I'm open to other suggestions.

These directives sounds good to me, although it's of course confusing that 
the internal variable has a completely different name...

> PmWiki internally sets the $Author global variable to be the name of the 
> person currently editing/browsing pages.

/Christian


-- 
Christian Ridderstr?m                           http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list