MediaWiki  master
PageViewUpdatesHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Page\Hook;
4 
5 use User;
6 use WikiPage;
7 
27  public function onPageViewUpdates( $wikipage, $user );
28 }
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:62
Page::Hook\PageViewUpdatesHook\onPageViewUpdates
onPageViewUpdates( $wikipage, $user)
Use this hook to make database (or other) changes after a page view is seen by MediaWiki.
Page::Hook\PageViewUpdatesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: PageViewUpdatesHook.php:15
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:67
MediaWiki\Page\Hook
Definition: Article__MissingArticleConditionsHook.php:3