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

--- Comment #1 from Daniel Kinzler <[email protected]> ---
Summary of team discussion:

* Use HTML renderer in diffs, to have more control over output.
** Possibly, at some point, highlight the bits of the value that actually
changed

* Simple types (string, url, commonsMedia) are unproblematic and stay as they
are.

* Complex values (e.g. time, coordinates, and quantities) are shown as itemized
lists of their parts.

* Item (reference) values are "expanded" to:
** show at least the referenced item ID
** if possible a label in the user's language (fallback applies). 
** the value is linked to the target item. 
** we may want to show the target item's description, also.

* Numbers are localized (wrt the decimal separator, etc)
* Numbers are not rounded (and no unit conversion is applied)

* A TimeValue's timestamp is shown in full precision. 
** we may use raw ISO format for now
** localized time values would be nice
** applying user preferences for time formatting would cause caching issues

* A TimeValue's precision should be translated from the numeric form to a
localized form ("hour", "day", "millennium", etc).
* A TimeValue's before/after parts should include the precision name (e.g.
"before: 3 years".


Suggested breakdown:
* Inject a ValueFormatterFactory into the DiffView, so we can provide
specialized formatters for use in diffs.
* Implement a diff formatter for WikibaseItem
* Implement a diff formatter for TimeValue
* Implement a diff formatter for GlobeCoordinateValue
* Implement a diff formatter for QuantityValue

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to