Wikidata:Avoiding breaking gadgets when developing UI

From Wikidata
Jump to navigation Jump to search

Context[edit]

While working on different parts of the interface of Wikidata, the development team breaks gadgets here and there. This is unfortunate but not always avoidable.

Right now, we are doing it too often because we do not give any guarantees about the points gadgets can hook into in the interface. We’d like to get the input of gadget authors to better understand which points are most important to keep more stable compared to others. We can not keep everything stable because we do need to move Wikidata forward, but we can give some more guarantees and backwards compatibility in the future than we are doing right now.

We already have a policy for other parts of our code and would like to move towards something similar for the UI code.

Questions[edit]

What are the most important areas/functions for you that so far break too often? Which gadgets are affected?[edit]

  • time outs on wdq/sparql-query

Which functions/helpers would be useful for you? What are specific use cases for them?[edit]

Other input[edit]

  • The merge gadget is probably the one I use most. So .. please don't break it. But I'm not a gadget editor, so I suppose you are not interested in my feedback. BTW, to notify all gadget editors, it might be easier to contact them directly. Phabricator should have some reports on what breaks occasionally.
    --- Jura 11:01, 10 December 2016 (UTC)[reply]
  • Perhaps there may be some documentation (with versioning) of the Wikidata UI (e.g., the DOM structure) and of the external data access from Wikidata. I myself am a developer of the COOL-WD user script. Fadirra (talk) 14:00, 10 December 2016 (UTC)[reply]