Manual:Hooks/HTMLCacheUpdate::doUpdate

From MediaWiki.org

Jump to: navigation, search
HTMLCacheUpdate::doUpdate
Available from version 1.14.0
After cache invalidation updates are inserted into the job queue

*Define function:
function fnMyHook( $title ) { ... }

*Attach hook:
$wgHooks['HTMLCacheUpdate::doUpdate'][] = 'fnMyHook';
Called from: HTMLCacheUpdate.php

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:HTMLCacheUpdate::doUpdate extensions.


[edit] Details

  • $title: Title object, pages linked to this title are purged.