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