Manual:Hooks/HTMLCacheUpdate::doUpdate
Appearance
This feature was removed completely in version 1.17.0. |
HTMLCacheUpdate::doUpdate | |
---|---|
Available from version 1.14.0 Removed in version 1.17.0 After cache invalidation updates are inserted into the job queue | |
Define function: | public static function onHTMLCacheUpdate_doUpdate( $title ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"HTMLCacheUpdate::doUpdate": "MediaWiki\\Extension\\MyExtension\\Hooks::onHTMLCacheUpdatedoUpdate"
}
}
|
Called from: | File(s): HTMLCacheUpdate.php |
Interface: | HTMLCacheUpdate__doUpdateHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:HTMLCacheUpdate::doUpdate extensions.
Details
[edit]- $title: Title object, pages linked to this title are purged.