then I understood you, let's say, partially. Your last sentence clarifies the situation in that you indirectly confirm, that the introduction of the two hooks DeleteAccount and MergeAccountFromTo (in UserMerge and in OpenID extensions) is -currently- the correct and only way.
If the extension provides the functionality related to the hook, the hook should be called from the extension. It's the only thing that makes sense, since core doesn't provide the functionality.
Questions, because I could not learn this from the Core documentation, hook related pages:
- Are the hook names I introduced, and the coding of the hooks in
conformity to your MW coding standards?
I'm not sure we have standards on hook names (someone please correct me, if this isn't the case).
- Should these (non-core) extensions' hooks get also dedicated
description pages on MW?
They should likely be documented on the page of the extension to which you are adding the hook.
- Ryan