MediaWiki  1.23.0
JSONRCFeedFormatter.php
Go to the documentation of this file.
1 <?php
2 
28 
29  protected function formatArray( array $packet ) {
30  return FormatJson::encode( $packet );
31  }
32 }
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
MachineReadableRCFeedFormatter
Abstract class so there can be multiple formatters outputting the same data.
Definition: MachineReadableRCFeedFormatter.php:27
JSONRCFeedFormatter\formatArray
formatArray(array $packet)
Take the packet and return the formatted string.
Definition: JSONRCFeedFormatter.php:29
FormatJson\encode
static encode( $value, $pretty=false, $escaping=0)
Returns the JSON representation of a value.
Definition: FormatJson.php:104
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
JSONRCFeedFormatter
Formats a notification into the JSON format (http://www.json.org)
Definition: JSONRCFeedFormatter.php:27