Last modified: 2014-11-05 14:45:30 UTC
Currently jQuery.wikibase's .claimview, .statementview, .claimlistview and .referenceview are handling API calls directly to save the data model object they are representing. Each of those widgets is constructing a new wb.AbstractedRepoApi() instance and calling the API action for handling its data model object. Depending on the actual implementation, this had the potential to significantly increasing the widgets testability, reusability and simplicity by redefining the widget's responsibility to solely act as a view serving the interface for editing a model (or "view model" following the example of jQuery.wikibase.snakview). The way how to actually do this had to be carefully considered and discussed.
Change 166018 had a related patch set uploaded by Adrian Lang: Introduce SiteLinksChanger https://gerrit.wikimedia.org/r/166018
Change 166018 merged by Thiemo Mättig (WMDE): Introduce SiteLinksChanger https://gerrit.wikimedia.org/r/166018