MediaWiki REL1_41
|
Format a recent change notification using JSON (https://www.json.org). More...
Inherits MachineReadableRCFeedFormatter.
Protected Member Functions | |
formatArray (array $packet) | |
Take the packet and return the formatted string. | |
Additional Inherited Members | |
Public Member Functions inherited from 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 32 of file JSONRCFeedFormatter.php.
|
protected |
Take the packet and return the formatted string.
array | $packet |
Reimplemented from MachineReadableRCFeedFormatter.
Definition at line 34 of file JSONRCFeedFormatter.php.