[Mediawiki-l] non-utc time variables

Rotem Liss mail at rotemliss.com
Mon Aug 21 13:07:47 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brion Vibber wrote:
> What I've recommended is adding a {{LOCALTIME}}, {{LOCALDAY}} etc set of
> parallel variables which will use the site-defined local time. This will avoid
> breaking compatibility.
> 
> You could probably hack it in pretty easily in Parser.php; if you do please
> submit a patch. ;)
> 
> Otherwise it's on my list of things to do.
> 
> 
> There should also be a patch floating around which alters the function of
> {{CURRENT*}}.
> 
> -- brion vibber (brion @ pobox.com)
> 

Revision 14849 in the Subversion (
http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=14849 ) can
be used as a basis for the patch. It should just be altered to add new
twicked magic words, instead of changing the existing magic words behavior.

- --
#define Name RotemLiss
#define Mail mail-AT-rotemliss-DOT-com
#define Site www.rotemliss.com

#define KeyFingerPrint 4AFD 8579 A449 4267 BED9 38E5 6EF8 5B1F EBDE 7AC0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE6bAjbvhbH+veesARAu88AJ4w/G6GgDHUcPA4iJ4aHki8lZGDnACgll6N
gYs/jeqACpxFzjUJ5B7HtEg=
=+oOH
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list