MediaWiki master
PageViewUpdatesHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
6use WikiPage;
7
27 public function onPageViewUpdates( $wikipage, $user );
28}
internal since 1.36
Definition User.php:94
Base representation for an editable wiki page.
Definition WikiPage.php:81
This is a hook handler interface, see docs/Hooks.md.
onPageViewUpdates( $wikipage, $user)
Use this hook to make database (or other) changes after a page view is seen by MediaWiki.