Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4025424
RandomPageQueryHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
732 B
Referenced Files
None
Subscribers
None
RandomPageQueryHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "RandomPageQuery" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
RandomPageQueryHook
{
/**
* Use this hook to modify the query used by Special:Random to select random pages.
*
* @since 1.35
*
* @param array &$tables Database tables to be used in the query
* @param array &$conds Conditions to be applied in the query
* @param array &$joinConds Join conditions to be applied in the query
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onRandomPageQuery
(
&
$tables
,
&
$conds
,
&
$joinConds
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 14 2026, 20:08 (13 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
9c/03/f01c1edfafe9c9252d457700b392
Default Alt Text
RandomPageQueryHook.php (732 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment