Last modified: 2014-01-22 15:24:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58261, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56261 - Implementation of basic value formatters in JavaScript
Implementation of basic value formatters in JavaScript
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ValueFormatters (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Storypoints: 5
: javascript
Depends on:
Blocks: 56263
  Show dependency treegraph
 
Reported: 2013-10-28 17:44 UTC by Daniel A. R. Werner
Modified: 2014-01-22 15:24 UTC (History)
7 users (show)

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


Attachments

Description Daniel A. R. Werner 2013-10-28 17:44:10 UTC
Basic value formatters should be implemented in JavaScript in the same fashion as value parsers are implemented there.

In jQuery.valueview those formatters can reduce the load of jQuery.valueview.Expert responsibilities to render values in non-edit mode.
The overly complex Time and GeoCoordinate experts preview functionality can then be factored out of the experts into a separate object using such a formatter. Formatters can then also be used for displaying values in non-edit mode. See Bug 56259
Comment 1 Daniel A. R. Werner 2013-10-28 17:56:00 UTC
For not so trivial formatters the backends formatters should be hooked up to the frontend, see Bug 56263
Comment 2 tobias.gritschacher 2014-01-07 08:57:55 UTC
https://gerrit.wikimedia.org/r/#/c/101876/

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


Navigation
Links