|
MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...

Public Member Functions | |
| onRandomPageQuery (&$tables, &$conds, &$joinConds) | |
| Use this hook to modify the query used by Special:Random to select random pages. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "RandomPageQuery" to register handlers implementing this interface.
Definition at line 12 of file RandomPageQueryHook.php.
| MediaWiki\Hook\RandomPageQueryHook::onRandomPageQuery | ( | & | $tables, |
| & | $conds, | ||
| & | $joinConds ) |
Use this hook to modify the query used by Special:Random to select random pages.
| array | &$tables | Database tables to be used in the query |
| array | &$conds | Conditions to be applied in the query |
| array | &$joinConds | Join conditions to be applied in the query |
Implemented in MediaWiki\HookContainer\HookRunner.