Last modified: 2011-06-06 21:56:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5347 - A way to markup times so that display can be based on timezones
A way to markup times so that display can be based on timezones
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on: 19992
  Show dependency treegraph
Reported: 2006-03-25 13:01 UTC by Shreevatsa R
Modified: 2011-06-06 21:56 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Shreevatsa R 2006-03-25 13:01:35 UTC
It would be nice if there is a way to specify times on a wiki page in such a way
that users see it in their own timezones. That is, I'm suggesting a new markup
syntax, so that users will see a time as either "December 26, 2005 01:47 GMT" or
"December 25, 2005 19:47 EST" (or something like that) depending on the timezone
in their preferences.

I was told on IRC that this would not be a desirable feature for something like
Wikipedia (having user preferences prevents caching), but it should be a simple
matter to implement, and other low-traffic sites using MediaWiki will benefit
from it, IMHO.
Comment 1 Rob Church 2006-03-25 17:03:55 UTC
Having user preferences does not prevent caching.
Comment 2 Brion Vibber 2006-03-26 00:52:04 UTC
Timezone-based preferences would multiply space requirements for caching (or reduce the number of pages 
which can be held in cache), so I would still be pretty leery of it.

This can be done with a tag extension and doesn't require core code changes.
Comment 3 Brion Vibber 2011-06-06 21:56:52 UTC
Adding bug 19992 (JS client-side date formatting) as a dependency, as this is the most likely way to actually handle flexible date formatting (doesn't break parser cache, doesn't break HTTP cache, and allows even anonymous users with no login information to use their computer's timezone settings with no manual intervention).

Note You need to log in before you can comment on or make changes to this bug.