MediaWiki  master
Page\Hook\Article__MissingArticleConditionsHook Interface Reference

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

Inheritance diagram for Page\Hook\Article__MissingArticleConditionsHook:

Public Member Functions

 onArticle__MissingArticleConditions (&$conds, $logTypes)
 This hook is called before fetching deletion and move log entries to display a message of a non-existing page being deleted/moved. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "Article::MissingArticleConditions" to register handlers implementing this interface.

Stable to implement

Definition at line 13 of file Article__MissingArticleConditionsHook.php.

Member Function Documentation

◆ onArticle__MissingArticleConditions()

Page\Hook\Article__MissingArticleConditionsHook::onArticle__MissingArticleConditions ( $conds,
  $logTypes 
)

This hook is called before fetching deletion and move log entries to display a message of a non-existing page being deleted/moved.

Use this hook to hide unrelated log entries.

Since
1.35
Parameters
array&$condsArray of query conditions (all of which have to be met; conditions will AND in the final query)
string[]$logTypesArray of log types being queried
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: