$url: string value as output (out parameter, can modify)
$query: query options passed to Title::getLocalURL()
-'getOtherBlockLogLink': Get links to the block log from extensions which blocks
- users and/or IP addresses too
-$otherBlockLink: An array with links to other block logs
-$ip: The requested IP address or username
-
'GetPreferences': modify user preferences
$user: User whose preferences are being modified.
&$preferences: Preferences description array, to be fed to an HTMLForm object
Hooks can alter or append to the array of URLs for search & suggestion formats.
&$urls: array of associative arrays with Url element attributes
+'OtherBlockLogLink': Get links to the block log from extensions which blocks
+ users and/or IP addresses too
+$otherBlockLink: An array with links to other block logs
+$ip: The requested IP address or username
+
'OutputPageBeforeHTML': a page has been processed by the parser and
the resulting HTML is about to be displayed.
$parserOutput: the parserOutput (object) that corresponds to the page
$wgOut->addHTML( Xml::tags( 'p', array( 'class' => 'error' ), $msg ) );
} elseif( $this->BlockAddress ) {
# Get other blocks, i.e. from GlobalBlocking or TorBlock extension
- wfRunHooks( 'getOtherBlockLogLink', array( &$otherBlockedMsgs, $this->BlockAddress ) );
+ wfRunHooks( 'OtherBlockLogLink', array( &$otherBlockedMsgs, $this->BlockAddress ) );
$userId = is_object( $user ) ? $user->getId() : 0;
$currentBlock = Block::newFromDB( $this->BlockAddress, $userId );
// Check for other blocks, i.e. global/tor blocks
$otherBlockLink = array();
- wfRunHooks( 'getOtherBlockLogLink', array( &$otherBlockLink, $this->ip ) );
+ wfRunHooks( 'OtherBlockLogLink', array( &$otherBlockLink, $this->ip ) );
// Show additional header for the local block only when other blocks exists.
// Not necessary in a standard installation without such extensions enabled