diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
commit | 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 (patch) | |
tree | 577a29fb579188d16003a209ce2a2e9c5b0aa2bd /extensions/Renameuser/hooks.txt | |
parent | cacc939b34e315b85e2d72997811eb6677996cc1 (diff) |
Update to MediaWiki 1.21.1
Diffstat (limited to 'extensions/Renameuser/hooks.txt')
-rw-r--r-- | extensions/Renameuser/hooks.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/extensions/Renameuser/hooks.txt b/extensions/Renameuser/hooks.txt new file mode 100644 index 00000000..8889b9f8 --- /dev/null +++ b/extensions/Renameuser/hooks.txt @@ -0,0 +1,34 @@ +This document describes how event hooks work in the Renameuser extension. + +For a more comprehensive guide to hooks, navigate to your root MediaWiki +directory and read docs/hooks.txt. + +== Events and parameters == +This is a list of known events and parameters; please add to it if you're going +to add events to the Renameuser extension. + +'RenameUserAbort': Allows the renaming to be aborted +$uid: The user ID +$oldusername: The old username +$newusername: The new username + +'RenameUserComplete': Called after a user was renamed +$uid: The user ID +$old: The new username +$new: The old username + +'RenameUserPreRename': Called before a user is renamed +$uid: The user ID +$old: The new username +$new: The old username + +'RenameUserSQL': Called in the constructer of RenameuserSQL (which performs + the actual renaming of users) +&$this: RenameuserSQL + +'RenameUserWarning': Called on Special:Renameuser before a user is renamed. + Will show the given warnings to the user and ask for a confirmation. +$oun: The old username +$nun: The new username +&$warnings: Array with message key(s) or message key(s) and parameter(s) for + the warnings to be shown |