https://bugzilla.wikimedia.org/show_bug.cgi?id=56259
Web browser: ---
Bug ID: 56259
Summary: jQuery.valueview.Expert.prototype.draw() should not be
responsible for non-edit mode >> getting rid of
BifidExpert
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
Redefine jQuery.valueview.Expert's draw functions to not be responsible for
non-edit mode representation of data values.
For this purpose we should have value formatters in the frontend. Instead of
having experts acting as formatters, a formatter factory should be injected
into jQuery.valueview widgets just like an ExpertFactory instance is injected
there.
This will allow to get rid of the jQuery.valueview.BifidExpert and increase
testability of the experts in general as well as reduce their complexity.
--
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