MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onUserLogoutComplete ( $user, &$inject_html, $oldName) | |
This hook is called after a user has logged out. | |
Stable to implement.
Definition at line 11 of file UserLogoutCompleteHook.php.
MediaWiki\Hook\UserLogoutCompleteHook::onUserLogoutComplete | ( | $user, | |
& | $inject_html, | ||
$oldName | |||
) |
This hook is called after a user has logged out.
User | $user | the user object after logout (won't have name, ID, etc.) |
string | &$inject_html | Any HTML to inject after the "logged out" message. |
string | $oldName | name of the user before logout (string) |
Implemented in MediaWiki\Api\ApiHookRunner, and MediaWiki\HookContainer\HookRunner.