X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/mediawiki.git/blobdiff_plain/d7967d5e4460e08b6b258307afbca0596b18a3dd..709a977dcc28b9560a925e8ba633a3b85da58655:/includes/api/ApiFormatYaml.php diff --git a/includes/api/ApiFormatYaml.php b/includes/api/ApiFormatYaml.php index 400c0a4b..cc255c63 100644 --- a/includes/api/ApiFormatYaml.php +++ b/includes/api/ApiFormatYaml.php @@ -29,7 +29,7 @@ if (!defined('MEDIAWIKI')) { } /** - * @addtogroup API + * @ingroup API */ class ApiFormatYaml extends ApiFormatBase { @@ -45,12 +45,11 @@ class ApiFormatYaml extends ApiFormatBase { $this->printText(Spyc :: YAMLDump($this->getResultData())); } - protected function getDescription() { + public function getDescription() { return 'Output data in YAML format' . parent :: getDescription(); } public function getVersion() { - return __CLASS__ . ': $Id: ApiFormatYaml.php 23531 2007-06-29 01:19:14Z simetrical $'; + return __CLASS__ . ': $Id: ApiFormatYaml.php 35098 2008-05-20 17:13:28Z ialex $'; } } -