Make old core document events official public API

I’m +1 to have public versions of those very usefull events. Now I’m not sure all of them needs to go through deprecation: for example, while it would definitely be a pain for you, UserUpdatingDocumentEvent is not super old (OK, we might not have the same scale here :slight_smile: ), and I really doubt it was used in any other extension yet.

The problem is that the only way to fix that is to upgrade your extension to a version of XWiki where the new event exist (or reimplement all the code which produce those events on your extension side, which is complex for some events and simply not possible in the case of UserUpdatingDocumentEvent).

Well it’s not the only way, actually, you can use reflection, but that’s painful.