[Bug 49265] Spec out registry/factory for formatters and parsers in the backend

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

Daniel Kinzler daniel.kinz...@wikimedia.de changed:

   What|Removed |Added

 Blocks||53745

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

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

Daniel Werner daniel.wer...@wikimedia.de changed:

   What|Removed |Added

 CC||daniel.wer...@wikimedia.de

--- Comment #7 from Daniel Werner daniel.wer...@wikimedia.de ---
formatters and parsers can be specific to a property (data) type [...] is not
yet possible in the backend, is it? We should either reopen this or create a
new bug for it.

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

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

--- Comment #8 from Daniel Kinzler daniel.kinz...@wikimedia.de ---
@Danwe: this bug only calls for the specification, which is completed with
comment #4. Please open a new ticket for the implementation.

Currently, we can either use a ValueFormatterFactory, selecting formatters
based on the DateValue type, or we use the list of ValueFormatters in the
DataValue object (no idea why there is a list there...)

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

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

--- Comment #9 from Daniel Werner daniel.wer...@wikimedia.de ---
Right, missed the fact that this was about specs only. Opened bug 51799.

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

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

abraham.taheriv...@wikimedia.de changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

--- Comment #6 from abraham.taheriv...@wikimedia.de ---
Verified in Wikidata demo time July 17th

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

2013-07-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=49265

denny vrandecic denny.vrande...@wikimedia.de changed:

   What|Removed |Added

 Blocks||51113

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

2013-07-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=49265

--- Comment #5 from Daniel Kinzler daniel.kinz...@wikimedia.de ---
I'd like to add that I think it would be useful to have one FormatterFactory
per desired output type, i.e. one for HTML, one for plain text, etc.

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

2013-07-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=49265

denny vrandecic denny.vrande...@wikimedia.de changed:

   What|Removed |Added

 CC||denny.vrandecic@wikimedia.d
   ||e

--- Comment #4 from denny vrandecic denny.vrande...@wikimedia.de ---
Results from the specification:
* Information about which formatter to use for which value will be in the
FormatterFactory
* Parsers are dealt with like Formatters
* Validators are tied to the DataType
* Instead of a BadValue, we have an UndeserializableValue (Naming by Committee)
and it only refers to UndeserializableValues, not to Type Mismatches (those
will be handled differently, no agreement has been reach as to exactly how)
* a BadSnak throws an exception for now and can not be handled as a
datastructure around (an UndeserialiazableValue is not a BadSnak in this sense)
* Formatters are to follow the pattern used in Ask, i.e. Options are given to
the constructor, it dispatches to different formatters ber format, etc.
* FormatterFactory is injected wherever needed

Also on Wiki here, where it can be changed:
http://meta.wikimedia.org/wiki/Wikidata/Development/Data_values

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

2013-07-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=49265

denny vrandecic denny.vrande...@wikimedia.de changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

2013-06-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=49265

--- Comment #3 from Andre Klapper aklap...@wikimedia.org ---
Is anybody working on / assigned to this?
If bug 48937 is really highest priority (set by Denny) and really depends on
this bug 49265, then this bug should also have highest priority.

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

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

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

   What|Removed |Added

   Priority|High|Highest

--- Comment #2 from Andre Klapper aklap...@wikimedia.org ---
If bug 48937 is really highest priority (set by Denny) and really depends on
this bug 49265, then this bug should also have highest priority.

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

2013-06-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=49265

Daniel Kinzler daniel.kinz...@wikimedia.de changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

2013-06-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=49265

Daniel Kinzler daniel.kinz...@wikimedia.de changed:

   What|Removed |Added

 Blocks||49186

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

2013-06-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=49265

abraham.taheriv...@wikimedia.de changed:

   What|Removed |Added

   Priority|Unprioritized   |High
 CC||abraham.taherivand@wikimedi
   ||a.de

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

2013-06-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=49265

--- Comment #1 from Daniel Kinzler daniel.kinz...@wikimedia.de ---
*** Bug 48398 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

2013-06-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=49265

Daniel Kinzler daniel.kinz...@wikimedia.de changed:

   What|Removed |Added

 Blocks||48937

-- 
You are receiving this mail because:
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 49265] Spec out registry/factory for formatters and parsers in the backend

2013-06-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=49265

Daniel Kinzler daniel.kinz...@wikimedia.de changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

-- 
You are receiving this mail because:
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