MediaWiki  master
MediaWiki\Hook\SkinPreloadExistenceHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\SkinPreloadExistenceHook:

Public Member Functions

 onSkinPreloadExistence (&$titles, $skin)
 Use this hook to supply titles that should be added to link existence cache before the page is rendered. More...
 

Detailed Description

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

Use the hook name "SkinPreloadExistence" to register handlers implementing this interface.

Stable to implement

Definition at line 15 of file SkinPreloadExistenceHook.php.

Member Function Documentation

◆ onSkinPreloadExistence()

MediaWiki\Hook\SkinPreloadExistenceHook::onSkinPreloadExistence ( $titles,
  $skin 
)

Use this hook to supply titles that should be added to link existence cache before the page is rendered.

Since
1.35
Parameters
Title[]&$titlesArray of Title objects
Skin$skin
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: