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

Public Member Functions | |
| onHtmlCacheUpdaterVaryUrls ( $urls, &$append) | |
| This hook is used to add variants of URLs to purge from HTTP caches. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "HtmlCacheUpdaterVaryUrls" to register handlers implementing this interface.
Definition at line 12 of file HtmlCacheUpdaterVaryUrlsHook.php.
| MediaWiki\Cache\Hook\HtmlCacheUpdaterVaryUrlsHook::onHtmlCacheUpdaterVaryUrls | ( | $urls, | |
| & | $append ) |
This hook is used to add variants of URLs to purge from HTTP caches.
Extensions that provide site-wide variants of all URLs, such as by serving from an alternate domain or path, can use this hook to append alternative URLs for each url in $urls.
| array | $urls | Canonical URLs |
| array | &$append | Append alternative URLs for $urls |
Implemented in MediaWiki\HookContainer\HookRunner.