Debian Codegraph @

includes/page/Hook/Article__MissingArticleConditionsHook.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Page\Hook;
4
5 // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6 /**
7 * This is a hook handler interface, see docs/Hooks.md.
8 * Use the hook name "Article::MissingArticleConditions" to register handlers implementing this interface.
9 *
10 * @stable to implement
11 * @ingroup Hooks
12 */
13 interface Article__MissingArticleConditionsHook {
14 /**
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.
18 *
19 * @since 1.35
20 *
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
25 */
26 public function onArticle__MissingArticleConditions( &$conds, $logTypes );
27 }