MediaWiki REL1_35
PageViewUpdatesHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use User;
6use WikiPage;
7
24 public function onPageViewUpdates( $wikipage, $user );
25}
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:60
Class representing a MediaWiki article and history.
Definition WikiPage.php:51
onPageViewUpdates( $wikipage, $user)
Use this hook to make database (or other) changes after a page view is seen by MediaWiki.