Last modified: 2011-03-13 18:06:48 UTC
This is not a bug report but a question. Is it technically possible to configure time
zone of all displayed timestamps of signatures? How about the idea "to display replacing
statements 'HH:NN, DD MM YYYY (UTC)' by the dates and times in each time zone"? We are
talking about this topic in Village Pump of Japanese Wikipedia. I am happy if you reply
in relatively easy English because I'm a Japanese and not very good at English.
Yep, as seen in DefaultSettings.php:
* Fake out the timezone that the server thinks it's in. This will be used for
* date display and not for what's stored in the DB. Leave to null to retain
* your server's OS-based timezone value. This is the same as the timezone.
* This variable is currently used ONLY for signature formatting, not for
* anything else.
# $wgLocaltimezone = 'GMT';
# $wgLocaltimezone = 'PST8PDT';
# $wgLocaltimezone = 'Europe/Sweden';
# $wgLocaltimezone = 'CET';
$wgLocaltimezone = null;
On Wikimedia we will generally set this as requested on sites where the language
community is almost entirely in one timezone.
(In reply to comment #1)
I heard Wikipedias for many languages are on one server. Then we can't use the way
you told, right? If so, is there another way?
I've not given you enough explanation. I think each of users configures timezone of
all displayed timestamps of signatures by "Date and time" of "My preferences" of
Wikipedia. Is it possible?
(In reply to comment #3)
> I've not given you enough explanation. I think each of users configures
> all displayed timestamps of signatures by "Date and time" of "My preferences" of
> Wikipedia. Is it possible?
(In reply to comment #4)
I know it's impossible to configure it at present. Will it become possible to
configure it by adding new function to MediaWiki?
(Supplement to comment #5)
Perhaps, will this function be added to the next version of MediaWiki? If not, would
you tell me when this function will be added?
It won't be added in the foreseeable future. The way we store signatures (as
plain wikitext) would make this rather a mess: we'd have to either do a
substitution on *all* dates, including those in quotes and so forth, or else try
to make up some fancy heuristic detecting user page links or something.
Essentially, we need more semantic backend storage for signatures before this
will be possible. Realistically this will probably not occur anytime within the
next couple of years, at least.