MediaWiki  REL1_24
ApiFormatYaml.php
Go to the documentation of this file.
00001 <?php
00032 class ApiFormatYaml extends ApiFormatJson {
00033 
00034     public function getMimeType() {
00035         return 'application/yaml';
00036     }
00037 
00038     public function execute() {
00039         $this->markDeprecated();
00040         parent::execute();
00041     }
00042 
00043     public function getDescription() {
00044         return 'DEPRECATED! Output data in YAML format' . ApiFormatBase::getDescription();
00045     }
00046 }