Page MenuHomeWickedGov Phorge

RandomPageQueryHook.php
No OneTemporary

Size
732 B
Referenced Files
None
Subscribers
None

RandomPageQueryHook.php

<?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

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)

Event Timeline