dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set redirlinks indexed tag name on list=backlinks
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiFormatYaml.php
diff --git
a/includes/api/ApiFormatYaml.php
b/includes/api/ApiFormatYaml.php
index
700d4a5
..
3798f89
100644
(file)
--- a/
includes/api/ApiFormatYaml.php
+++ b/
includes/api/ApiFormatYaml.php
@@
-26,6
+26,7
@@
/**
* API YAML output formatter
/**
* API YAML output formatter
+ * @deprecated since 1.24
* @ingroup API
*/
class ApiFormatYaml extends ApiFormatJson {
* @ingroup API
*/
class ApiFormatYaml extends ApiFormatJson {
@@
-34,7
+35,12
@@
class ApiFormatYaml extends ApiFormatJson {
return 'application/yaml';
}
return 'application/yaml';
}
+ public function execute() {
+ $this->markDeprecated();
+ parent::execute();
+ }
+
public function getDescription() {
public function getDescription() {
- return 'Output data in YAML format' . ApiFormatBase::getDescription();
+ return '
DEPRECATED!
Output data in YAML format' . ApiFormatBase::getDescription();
}
}
}
}