Extension:Echo/Hooks/BeforeDisplayOrangeAlert

From MediaWiki.org
Jump to navigation Jump to search
BeforeDisplayOrangeAlert
Available from version 1.28.0 (Gerrit change 315730)

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

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

Details[edit]

  • $user:
  • $title: