https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

           Summary: Support client-side date/time formatting for user's
                    local timezone (JavaScript)
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: User interface
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: br...@wikimedia.org


This could be the ultimate in sensible default behavior, and could work for
anons as well as logged in folks. 

JavaScript running in the browser has access to the computer's local time zone
information, and could perform runtime conversion and local formatting. A
<noscript> fallback can provide current defaults. 

Issues to consider:

document.write inline vs Dom manipulation -- compat, purity, display/flicker
issues?

Formatting and localization -- we have a lot of date and time formatting
options, including alternate calendars. Do we need to replicate all of these in
JS code or can we get away with just the default -- assuming any other option
would force server-side rendering?

Date headers in lists such as RecentChanges will move depending on the
timezone. 

Can we handle talk page sigs? (or leave that to LQT?)

How should we mark timezone on output to indicate to the user what he/she is
looking at?


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to