< Extension:Echo < Hooks
BeforeDisplayOrangeAlert
Available from version 1.28.0 (Gerrit change 315730)

Define function:
public static function onBeforeDisplayOrangeAlert( User $user, Title $title ) { ... }
Attach hook:
$wgHooks['BeforeDisplayOrangeAlert'][] = 'MyExtensionHooks::onBeforeDisplayOrangeAlert';
Called from:File(s): Echo / EchoHooks.php
Function(s): onPersonalUrls

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:BeforeDisplayOrangeAlert extensions.

Details

  • $user: User object
  • $title: Title object
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.