MediaWiki REL1_35
RandomPageQueryHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
20 public function onRandomPageQuery( &$tables, &$conds, &$joinConds );
21}
onRandomPageQuery(&$tables, &$conds, &$joinConds)
Use this hook to modify the query used by Special:Random to select random pages.