Manual:Hooks/HTMLCacheUpdate::doUpdate

From MediaWiki.org
Jump to: navigation, search
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:
$wgHooks['HTMLCacheUpdate::doUpdate'][] = 'MyExtensionHooks::onHTMLCacheUpdate_doUpdate';
Called from: File(s): HTMLCacheUpdate.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.