MediaWiki REL1_35
MediaWiki\Hook\TitleSquidURLsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\TitleSquidURLsHook:

Public Member Functions

 onTitleSquidURLs ( $title, &$urls)
 This hook is called to determine which URLs to purge from HTTP caches.
 

Detailed Description

Stable to implement.

Definition at line 11 of file TitleSquidURLsHook.php.

Member Function Documentation

◆ onTitleSquidURLs()

MediaWiki\Hook\TitleSquidURLsHook::onTitleSquidURLs (   $title,
$urls 
)

This hook is called to determine which URLs to purge from HTTP caches.

Since
1.35
Parameters
Title$titleTitle object to purge
string[]&$urlsArray of URLs to purge from the caches, to be manipulated
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: