Manual:Hooks/WhatLinksHereProps

From MediaWiki.org
Jump to navigation Jump to search
WhatLinksHereProps
Available from version 1.24.0 (Gerrit change ?)
Allow extensions to annotate WhatLinksHere entries.
Define function:
public static function onWhatLinksHereProps( ?? ) { ... }
Attach hook:

In extension.json:

{
	"Hooks": {
		"WhatLinksHereProps": "MyExtensionHooks::onWhatLinksHereProps"
	}
}

For MediaWiki ≤1.25:

$wgHooks['WhatLinksHereProps'][] = 'MyExtensionHooks::onWhatLinksHereProps';
Called from:File(s): ?

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

Details[edit]

Allows extensions to annotate WhatLinksHere entries.

'Parameters missing!