MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onSpecialWhatLinksHereQuery ( $table, $data, $queryBuilder) | |
Use this hook to modify the query used by Special:WhatLinksHere. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SpecialWhatLinksHereQueryHook" to register handlers implementing this interface.
Definition at line 14 of file SpecialWhatLinksHereQueryHook.php.
MediaWiki\Hook\SpecialWhatLinksHereQueryHook::onSpecialWhatLinksHereQuery | ( | $table, | |
$data, | |||
$queryBuilder ) |
Use this hook to modify the query used by Special:WhatLinksHere.
Implement the SpecialPageBeforeFormDisplay
hook as well to add new elements to the form, which then contribute to the $data
parameter of this hook.
string | $table | table name |
array | $data | Data submitted from the form, as processed by HTMLForm |
SelectQueryBuilder | $queryBuilder | Query builder for altering the query being run |
Implemented in MediaWiki\HookContainer\HookRunner.