]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/api/ApiFormatYaml.php
MediaWiki 1.14.0
[autoinstallsdev/mediawiki.git] / includes / api / ApiFormatYaml.php
index 400c0a4bd6ba526cb9eaa0f5a4eba33eefd2327f..cc255c632e08a25e9e11bdf6cd23e6e0ce9de253 100644 (file)
@@ -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 $';
        }
 }
-