Tags:
create new tag
, view all tags

Question

It looks like the copyright notice which is included at the bottom of page needs updating after the New Year:

E.g. change: Copyright © 1999-2003 by the contributing authors.

into: Copyright © 1999-2004 by the contributing authors.

This is just as true for http://twiki.org/ as for my own Twiki (which will be listed as soon as I get the security right). smile I'm sure we've all forgotten to do this on our own webs so please could someone remind us how to fix the message?

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- PeterHitchmough - 08 Jan 2004

Answer

OK, I can answer this myself as I just stumbled upon it: embarrassment

  • To change the copyright notice for the whole Twiki site: change the setting for WEBCOPYRIGHT in TWikiPreferences.
  • The copyright notice for individual webs can be overridden by setting variable WEBCOPYRIGHT in the relevant WebPreferences topic.

Example:

Set WEBCOPYRIGHT = Copyright © 1999-2003 by the contributing authors. \nAll material on this collaboration platform is the property of the contributing authors. 
\nIdeas, requests, problems regarding TWiki? Send feedback  . 


Thanks for posting this - I too had forgotten to update our local TWiki.

To fix this once and for all: instead of typing 1999-2004, just use 1999-%GMTIME{"$year"}% in TWikiPreferences (or WebPreferences where they override the copyright setting) - this displays 1999-2004 this year, and 1999-2005 next year. Of course, this is GMT not server time (see AlwaysServerTimeZone, which may provide a way of using server [local] time), so you may get the wrong year for parts of 31 Dec and 1 Jan.

New TWiki installations will need to update their copyright notice after the first year, but after that can just use this expression.

I've done this on TWiki.org's TWikiPreferences and it works fine - should work in any TWiki version that supports the %GMTIME{...}% feature.

-- RichardDonkin - 08 Jan 2004

Topic revision: r2 - 2004-01-08 - RichardDonkin
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.