MediaWiki
fundraising/REL1_35
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
12
interface
PageViewUpdatesHook
{
24
public
function
onPageViewUpdates
( $wikipage, $user );
25
}
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:51
MediaWiki\Page\Hook\PageViewUpdatesHook
Stable to implement.
Definition
PageViewUpdatesHook.php:12
MediaWiki\Page\Hook\PageViewUpdatesHook\onPageViewUpdates
onPageViewUpdates( $wikipage, $user)
Use this hook to make database (or other) changes after a page view is seen by MediaWiki.
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
PageViewUpdatesHook.php
Generated on Mon Nov 25 2024 16:15:18 for MediaWiki by
1.10.0