Page MenuHomeWickedGov Phorge

SpecialWhatLinksHereQueryHook.php
No OneTemporary

Size
929 B
Referenced Files
None
Subscribers
None

SpecialWhatLinksHereQueryHook.php

<?php
namespace MediaWiki\Hook;
use Wikimedia\Rdbms\SelectQueryBuilder;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SpecialWhatLinksHereQueryHook" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface SpecialWhatLinksHereQueryHook {
/**
* 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.
*
* @since 1.43
*
* @param string $table table name
* @param array $data Data submitted from the form, as processed by `HTMLForm`
* @param SelectQueryBuilder $queryBuilder Query builder for altering the query being run
*
* @return void Un-abortable hook
*/
public function onSpecialWhatLinksHereQuery(
$table,
$data,
$queryBuilder
);
}

File Metadata

Mime Type
text/x-php
Expires
Aug 19 2026, 19:24 (6 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
dc/a5/9944dc4dc106cbd78704f543456a
Default Alt Text
SpecialWhatLinksHereQueryHook.php (929 B)

Event Timeline