The Wikibase code base still contains JavaScript code that was created back in 2013 when significant portions of the projects logic was exclusively encoded in JavaScript frontend code. In general, we want to remove as much unneeded code from the JavaScript code base as possible, to make it easier to maintain. This will make future migrations away from jQuery UI to #oojs and Vue.js easier.
Acceptance criteria for this ticket is not specific code that must be removed, but a time constraint on everything that can be achieved during #wikimania-hackathon-2017.
#patch-for-review:
[x] https://gerrit.wikimedia.org/r/366536 (−128 lines)
[x] https://gerrit.wikimedia.org/r/366544 (−10 lines)
[x] https://gerrit.wikimedia.org/r/370811 (−95 lines)
[x] https://gerrit.wikimedia.org/r/370835 (−358 lines)
[x] https://gerrit.wikimedia.org/r/370843 (−1 line)
[x] https://gerrit.wikimedia.org/r/371209
[x] https://github.com/wmde/DataValuesJavaScript/pull/93 (−164 lines)
[x] https://github.com/wmde/DataValuesJavaScript/pull/112 (−421 lines)
[x] https://github.com/wmde/DataValuesJavaScript/pull/115 (−232 lines)
[x] https://github.com/wmde/DataValuesJavaScript/pull/116 (−84 lines)
[x] https://github.com/wmde/DataValuesJavaScript/pull/117 (reverted)
[x] https://github.com/wmde/DataValuesJavaScript/pull/118 (reverted)
[x] https://github.com/wmde/DataValuesJavaScript/pull/120 (−13 lines)
[] https://github.com/wmde/DataValuesJavaScript/pull/122
[] https://github.com/wmde/DataValuesJavaScript/pull/123 (−640 lines)
[x] https://github.com/wmde/WikibaseDataModelJavaScript/pull/73 (−310 lines)
[x] https://github.com/wmde/WikibaseDataModelJavaScript/pull/74 (−14 lines)
[] https://github.com/wmde/WikibaseDataModelJavaScript/pull/80 (−293 lines)
[] https://github.com/wmde/WikibaseSerializationJavaScript/pull/46 (−706 lines)
Sum: ~3,500 lines
Not to forget these patches by @WMDE-leszek that remove local copies of jQuery and other libraries:
[] https://github.com/wmde/DataTypes/pull/73 (−3,097 lines)
[] https://github.com/wmde/DataValuesJavaScript/pull/124 (−16,576 lines)