[pmwiki-users] [PATCH] create links to individual changes on history page

Johannes Winkelmann jw at smts.ch
Tue Aug 15 13:11:59 CDT 2006


On Tue, Aug 15, 2006 at 17:06:01 +0200, Joachim Durchholz wrote:
> Johannes Winkelmann schrieb:
> > On Mon, Aug 14, 2006 at 08:45:34 -0500, Patrick R. Michaud wrote:
> >> So, if we have such date/time routines available, should we generate
> >> anchors something like "#20060807071547" instead?  (And, if we
> >> do, do we use a local timezone or a UTC timezone...?)
> > I personally would stay with the timestamps, to ensure we can have
> > persistent links without confusing the user: 
> > - if we'd use the local timezone setting, a static, previously generated
> >   link (e.g. on Recent Changes page) could become invalid after a
> >   timezone change
> I haven't seen any server change the time zone after initial setup, 
> ever. (That doesn't mean this doesn't happen, but it does mean it's 
> very, very rare.)
I've seen it before where the person installing pmwiki copied the
config.php from
thus ending up with TZ=EST5EDT on a server located in Sweden/CEST. 

Also, I believe moving a wiki installation into a different timezone is
not that improbable, considering its popularity.

That said, my consideration was kinda flawed, as it wouldn't break
RecentChanges, only external links (bookmarks and the like).

Regards, Johannes
Johannes Winkelmann              mailto:jw at smts.ch
Zurich, Switzerland              http://jw.smts.ch

More information about the pmwiki-users mailing list