Page MenuHomePhabricator

Add hook for when an edit has been saved or cancelled
Open, Needs TriagePublic

Description

see T186356 where it was suggested this should be a separate ticket

As I wrote in the comments on that ticket:

I'm interested in knowing when labels, lemmas, forms and senses have been saved or when the editing of them has been cancelled (since it re-renders them when leaving the edit interface). A single generic hook would work for me, so would multiple more specific hooks.

We have wikibase.statement.saved and wikibase.statement.removed but that is specific to statements and doesn't include the other things I listed.