3 namespace MediaWiki\Page\Hook
;
5 // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
7 * This is a hook handler interface, see docs/Hooks.md.
8 * Use the hook name "Article::MissingArticleConditions" to register handlers implementing this interface.
10 * @stable to implement
13 interface Article__MissingArticleConditionsHook
{
15 * This hook is called before fetching deletion and move log entries
16 * to display a message of a non-existing page being deleted/moved.
17 * Use this hook to hide unrelated log entries.
21 * @param array &$conds Array of query conditions (all of which have to be met;
22 * conditions will AND in the final query)
23 * @param string[] $logTypes Array of log types being queried
24 * @return bool|void True or no return value to continue or false to abort
26 public function onArticle__MissingArticleConditions( &$conds, $logTypes );