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 }
This is a hook handler interface, see docs/Hooks.md.
onRandomPageQuery(&$tables, &$conds, &$joinConds)
Use this hook to modify the query used by Special:Random to select random pages.