MediaWiki
master
PageViewUpdatesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
MediaWiki\User\User
;
6
use
WikiPage
;
7
15
interface
PageViewUpdatesHook
{
27
public
function
onPageViewUpdates
( $wikipage, $user );
28
}
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:85
MediaWiki\Page\Hook\PageViewUpdatesHook
This is a hook handler interface, see docs/Hooks.md.
Definition
PageViewUpdatesHook.php:15
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 Sun Dec 8 2024 05:25:01 for MediaWiki by
1.10.0