summaryrefslogtreecommitdiff
path: root/includes/api/ApiFormatTxt.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api/ApiFormatTxt.php')
-rw-r--r--includes/api/ApiFormatTxt.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/api/ApiFormatTxt.php b/includes/api/ApiFormatTxt.php
index 4130e70c..c451ed77 100644
--- a/includes/api/ApiFormatTxt.php
+++ b/includes/api/ApiFormatTxt.php
@@ -26,6 +26,7 @@
/**
* API Text output formatter
+ * @deprecated since 1.24
* @ingroup API
*/
class ApiFormatTxt extends ApiFormatBase {
@@ -38,10 +39,11 @@ class ApiFormatTxt extends ApiFormatBase {
}
public function execute() {
+ $this->markDeprecated();
$this->printText( print_r( $this->getResultData(), true ) );
}
public function getDescription() {
- return 'Output data in PHP\'s print_r() format' . parent::getDescription();
+ return 'DEPRECATED! Output data in PHP\'s print_r() format' . parent::getDescription();
}
}