Status:
http://www.mediawiki.org/wiki/Manual:Hooks/AddNewAccount is currently
the only Account-adminstration related hook which changes table user -
as far as I can see.

Problem (solved yesterday)
OpenID needs to be informed when an account is deleted or merged, which
currently UserMerge extension does.
There are no core functions for - Deletion or - Merging of accounts.

This is reason why I added in UserMerge (declared myself as the new
maintainer for this, if nobody contests) two hooks

- DeleteAccount
- MergeAccountFromTo

The two hooks are used in OpenID only, for the moment.
I did not yet create corresponding new hook description pages on
MediaWiki - because the hooks are currently not part of the core.

As suggested some days ago by Ryan Lane - and I support his view - such
hooks should

-    go/come via the core, and in consequence
-    via Auth.

The two hooks should be implemented in core as

    abstract public function ()

or whatever is conformity to our standards (pls. let me know). If you
choose other names, I will commit corresponding changes in OpenID and
UserMerge.

Looking forward to your feedback,
Tom

hooks come from http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89010
hooks are consumed in
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89014

P.S. The OpenID and UserMerge extensions run on MediaWiki trunk version
with recent PHP 5.3.6. Who wants to test it (URL on request)

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to