MediaWiki master
|
Format a recent change notification using JSON (https://www.json.org). More...
Inherits MediaWiki\RCFeed\MachineReadableRCFeedFormatter.
Protected Member Functions | |
formatArray (array $packet) | |
Take the packet and return the formatted string. | |
Additional Inherited Members | |
Public Member Functions inherited from MediaWiki\RCFeed\MachineReadableRCFeedFormatter | |
getLine (array $feed, RecentChange $rc, $actionComment) | |
Generates a notification that can be easily interpreted by a machine. | |
Format a recent change notification using JSON (https://www.json.org).
Parameters:
channel
: If set, a 'channel' property with the same value will also be added to the JSON-formatted message.Definition at line 37 of file JSONRCFeedFormatter.php.
|
protected |
Take the packet and return the formatted string.
array | $packet |
Reimplemented from MediaWiki\RCFeed\MachineReadableRCFeedFormatter.
Definition at line 39 of file JSONRCFeedFormatter.php.