[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Summary view] [Print] [Text view]
1 This document describes how event hooks work in the Renameuser extension. 2 3 For a more comprehensive guide to hooks, navigate to your root MediaWiki 4 directory and read docs/hooks.txt. 5 6 == Events and parameters == 7 This is a list of known events and parameters; please add to it if you're going 8 to add events to the Renameuser extension. 9 10 'RenameUserAbort': Allows the renaming to be aborted 11 $uid: The user ID 12 $oldusername: The old username 13 $newusername: The new username 14 15 'RenameUserComplete': Called after a user was renamed 16 $uid: The user ID 17 $old: The new username 18 $new: The old username 19 20 'RenameUserPreRename': Called before a user is renamed 21 $uid: The user ID 22 $old: The new username 23 $new: The old username 24 25 'RenameUserSQL': Called in the constructer of RenameuserSQL (which performs 26 the actual renaming of users) 27 &$this: RenameuserSQL 28 29 'RenameUserWarning': Called on Special:Renameuser before a user is renamed. 30 Will show the given warnings to the user and ask for a confirmation. 31 $oun: The old username 32 $nun: The new username 33 &$warnings: Array with message key(s) or message key(s) and parameter(s) for 34 the warnings to be shown
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |