Manual:Hooks/UserLoginMailPassword
From MediaWiki.org
|
|
This feature has been deprecated and should not be used with current versions of MediaWiki. This feature was deprecated (or possibly removed completely) in version 1.18.0. |
| UserLoginMailPassword | |
|---|---|
| Available from version 1.16.0 Removed in version 1.18.0 Block users from emailing passwords |
|
*Define function: |
function fnMyHook( $name, &$error ) { ... }
|
*Attach hook: |
$wgHooks['UserLoginMailPassword'][] = 'MyExtensionHooks::someExample'; |
| Called from: | SpecialUserlogin.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:UserLoginMailPassword extensions.
[edit] Details
- $name: the username to email the password of.
- &$error: out-param - the error message to return.