We want to declare the wikibase.entityPage.entityLoaded, wikibase.statement.saved, wikibase.statement.removed, and perhaps wikibase.entityPage.entityView.rendered hooks as stable interfaces.
We might also want to amend the Stable Interface Policy to clarify that adding arguments to a hook is not a breaking change. (I have to admit, I don’t remember what the PM / Engineering Time decision on this was – were we going to do this or not?)
This includes making and maintaining the documentation of JS hooks on mediawiki.org.
https://www.wikidata.org/wiki/Wikidata:Stable_Interface_Policy
Tasks:
- Add documentation about hooks to mediawiki.org. https://www.mediawiki.org/wiki/Extension:Wikibase_Repository
- Add documentation about hooks in the code (/docs/hooks.txt)
- Add a section about JS hook to Stable Interface Policy on wikidata.org