MediaWiki  master
RandomPageQueryHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
23  public function onRandomPageQuery( &$tables, &$conds, &$joinConds );
24 }
MediaWiki\Hook\RandomPageQueryHook
This is a hook handler interface, see docs/Hooks.md.
Definition: RandomPageQueryHook.php:12
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\RandomPageQueryHook\onRandomPageQuery
onRandomPageQuery(&$tables, &$conds, &$joinConds)
Use this hook to modify the query used by Special:Random to select random pages.