MediaWiki REL1_37
MediaWiki\Hook\WhatLinksHerePropsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\WhatLinksHerePropsHook:

Public Member Functions

 onWhatLinksHereProps ( $row, $title, $target, &$props)
 Use this hook to add annotations to Special:WhatLinksHere.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "WhatLinksHereProps" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file WhatLinksHerePropsHook.php.

Member Function Documentation

◆ onWhatLinksHereProps()

MediaWiki\Hook\WhatLinksHerePropsHook::onWhatLinksHereProps (   $row,
  $title,
  $target,
$props 
)

Use this hook to add annotations to Special:WhatLinksHere.

Since
1.35
Parameters
stdClass$rowThe DB row of the entry.
Title$titleThe Title of the page where the link comes FROM
Title$targetThe Title of the page where the link goes TO
string[]&$propsArray of HTML strings to display after the title.
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: