Jump to content

Manual:Hooks/WhatLinksHereProps

From mediawiki.org
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": "MediaWiki\\Extension\\MyExtension\\Hooks::onWhatLinksHereProps"
	}
}
Called from: File(s): specials/SpecialWhatLinksHere.php
Interface: WhatLinksHerePropsHook.php

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!