Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4150019
SpecialWhatLinksHereQueryHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
929 B
Referenced Files
None
Subscribers
None
SpecialWhatLinksHereQueryHook.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment