MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onPageViewUpdates ( $wikipage, $user) | |
Use this hook to make database (or other) changes after a page view is seen by MediaWiki. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "PageViewUpdates" to register handlers implementing this interface.
Definition at line 15 of file PageViewUpdatesHook.php.
MediaWiki\Page\Hook\PageViewUpdatesHook::onPageViewUpdates | ( | $wikipage, | |
$user | |||
) |
Use this hook to make database (or other) changes after a page view is seen by MediaWiki.
Note this does not capture views made via external caches such as Squid.
Implemented in MediaWiki\HookContainer\HookRunner.