MediaWiki
REL1_40
ApiFeedContributions__feedItemHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Api\Hook
;
4
5
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6
use
IContextSource
;
7
use stdClass;
8
16
interface
ApiFeedContributions__feedItemHook
{
33
public
function
onApiFeedContributions__feedItem
( $row, $context, &$feedItem );
34
}
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:60
MediaWiki\Api\Hook\ApiFeedContributions__feedItemHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ApiFeedContributions__feedItemHook.php:16
MediaWiki\Api\Hook\ApiFeedContributions__feedItemHook\onApiFeedContributions__feedItem
onApiFeedContributions__feedItem( $row, $context, &$feedItem)
Use this hook to convert the result of ContribsPager into a MediaWiki\Feed\FeedItem instance that Api...
MediaWiki\Api\Hook
Definition
APIAfterExecuteHook.php:3
includes
api
Hook
ApiFeedContributions__feedItemHook.php
Generated on Thu Jun 27 2024 14:02:20 for MediaWiki by
1.10.0