[Bug 32545] MediaWiki should support time in WikiText

2013-09-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32545

Nemo federicol...@tiscali.it changed:

   What|Removed |Added

   Keywords||i18n
 CC||federicol...@tiscali.it

-- 
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


[Bug 32545] MediaWiki should support time in WikiText

2013-03-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32545

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Low
Version|unspecified |1.21-git
 Blocks||19719

--- Comment #8 from Andre Klapper aklap...@wikimedia.org ---
(In reply to comment #7)
 https://gerrit.wikimedia.org/r/#change,4251

Patch was merged in November 2012.

As written in comment 6,
 Still need formatting code, parser function, etc... of course.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 32545] MediaWiki should support time in WikiText

2013-03-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32545

Helder mybugs.m...@gmail.com changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 32545] MediaWiki should support time in WikiText

2012-09-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32545

Ryan Kaldari rkald...@wikimedia.org changed:

   What|Removed |Added

 Blocks|19992   |

-- 
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


[Bug 32545] MediaWiki should support time in WikiText

2012-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32545

--- Comment #7 from Daniel Friesen mediawiki-b...@nadir-seen-fire.com 
2012-04-04 07:03:07 UTC ---
Change was backed out of svn for the git migration, new gerrit changeset:
https://gerrit.wikimedia.org/r/#change,4251

-- 
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


[Bug 32545] MediaWiki should support time in WikiText

2012-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32545

--- Comment #6 from Daniel Friesen mediawiki-b...@nadir-seen-fire.com 
2012-02-20 04:12:26 UTC ---
Note that I added support for data, time, meta, and link (missing
elements of Microdata) in WikiText in r111891.

Still need formatting code, parser function, etc... of course.

-- 
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


[Bug 32545] MediaWiki should support time in WikiText

2012-02-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32545

--- Comment #2 from Daniel Friesen mediawiki-b...@nadir-seen-fire.com 
2012-02-19 02:05:57 UTC ---
Rather than a class maybe we should go for a data- param with some sort of
format specifier. I don't doubt that people are going to be asking for 3
minutes ago style timestamps as well as those formatted into a user's
preferred time.

-- 
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


[Bug 32545] MediaWiki should support time in WikiText

2012-02-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32545

--- Comment #3 from p858snake p858sn...@gmail.com 2012-02-19 02:14:34 UTC ---
(In reply to comment #2)
 Rather than a class maybe we should go for a data- param with some sort of
 format specifier. I don't doubt that people are going to be asking for 3
 minutes ago style timestamps as well as those formatted into a user's
 preferred time.
As for the format specifier, Just tell users to use the [[ISO 8601]] standard
when entering time, What better solution than a standard?

-- 
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


[Bug 32545] MediaWiki should support time in WikiText

2012-02-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32545

--- Comment #4 from Daniel Friesen mediawiki-b...@nadir-seen-fire.com 
2012-02-19 03:03:47 UTC ---
(In reply to comment #3)
 (In reply to comment #2)
  Rather than a class maybe we should go for a data- param with some sort of
  format specifier. I don't doubt that people are going to be asking for 3
  minutes ago style timestamps as well as those formatted into a user's
  preferred time.
 As for the format specifier, Just tell users to use the [[ISO 8601]] standard
 when entering time, What better solution than a standard?

Not input format, output format. As in what format of time js should insert
into the element.

-- 
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


[Bug 32545] MediaWiki should support time in WikiText

2012-02-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32545

--- Comment #5 from Daniel Friesen mediawiki-b...@nadir-seen-fire.com 
2012-02-19 03:28:13 UTC ---
For example protect-expiring(-local), instead of expires $1 (UTC) / expires
$1 could be something like: expires time data-format=relative
datetime=$4$1 (UTC)/time

Which will end up with a js replacement ending up with something like expires
time data-format=relative datetime=2012-0-12T03:03:47Zin 5
minutes/time.

-- 
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


[Bug 32545] MediaWiki should support time in WikiText

2011-11-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32545

Daniel Friesen mediawiki-b...@nadir-seen-fire.com changed:

   What|Removed |Added

 Blocks||19992

-- 
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


[Bug 32545] MediaWiki should support time in WikiText

2011-11-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=32545

--- Comment #1 from Brion Vibber br...@wikimedia.org 2011-11-22 01:34:03 UTC 
---
Current w3c draft HTML 5 spec for time:
http://dev.w3.org/html5/spec/text-level-semantics.html#the-time-element

A few things to consider in context of bug 19992 (using this to do localized
time/datestamps using browser's client-side knowledge of user's timezone):

* if a 'datetime' attribute is present with the normalized timestamp, it's used
as the date and/or time value -- thus the text contents may be freely formatted
(or re-formatted)

* there's no standard for replacing visible times, so we'd probably want to use
a class to mark localizable items

* the valueAsContent property doesn't distinguish between 'date only' and
'midnight UTC on that date', nor between 'time specified to the second at :00'
and 'time specified to the minute'; could need to check the format or something
to determine partial replacements

* note that applying timezone transformations to a UTC-midnight date timestamp
may result in jumping off by a day depending on your local timezone -- probably
not usually what's wanted.

* time will be theoretically relevant as metadata on things that you would
probably not actually want to display localized in a user's timezone, for
instance at https://en.wikipedia.org/wiki/JFK#Assassination:

President Kennedy was assassinated in Dallas, Texas, at 12:30 pm [[Central
Standard Time]] on November 22, 1963, ...

this is relevant metadata and might be marked up something like:

President Kennedy was assassinated in Dallas, Texas, at time
datetime='1963-11-22T12:30-06:00'12:30 pm [[Central Standard Time]] on
November 22, 1963/time, ...


meanwhile in UI and project coordination we're more likely to want to make them
localizable:

The IRC meeting will start at time datetime='2011-11-25T12:00Z'12:00 UTC on
November 25/time

... but how will the system know we want to convert this one, and not the other
one? Need a class? What about the contents? Would we lose that nice custom
formatting there? Would we say 'too bad' and actually mark it up a little
differently?

One possibility might be to have a wrapper parser function or template:

The IRC meeting will start at {{#showtime:2011-11-25T12:00Z}}

which might render to HTML:

The IRC meeting will start at time class='mw-showtime'
datetime='2011-11-25T12:00Z'2011-11-25 12:00 UTC/time

when then gets replacements done via JS into local time:

The IRC meeting will start at time class='mw-showtime'
datetime='2011-11-25T12:00Z'2011-11-25 04:00 PST/time

Code could emit the HTML w/ class markers directly when not going through
wikitext...

-- 
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