aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiFormatYaml.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api/ApiFormatYaml.php')
-rw-r--r--includes/api/ApiFormatYaml.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/api/ApiFormatYaml.php b/includes/api/ApiFormatYaml.php
index 700d4a5e9dc1..9f9b0577dd56 100644
--- a/includes/api/ApiFormatYaml.php
+++ b/includes/api/ApiFormatYaml.php
@@ -34,7 +34,12 @@ class ApiFormatYaml extends ApiFormatJson {
return 'application/yaml';
}
+ public function execute() {
+ $this->markDeprecated();
+ parent::execute();
+ }
+
public function getDescription() {
- return 'Output data in YAML format' . ApiFormatBase::getDescription();
+ return 'DEPRECATED! Output data in YAML format' . ApiFormatBase::getDescription();
}
}