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
Merge "Don't cast SpecialPageFactory::$list to an object"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiFormatDbg.php
diff --git
a/includes/api/ApiFormatDbg.php
b/includes/api/ApiFormatDbg.php
index
1b2e02c
..
5ec518b
100644
(file)
--- a/
includes/api/ApiFormatDbg.php
+++ b/
includes/api/ApiFormatDbg.php
@@
-26,6
+26,7
@@
/**
* API PHP's var_export() output formatter
/**
* API PHP's var_export() output formatter
+ * @deprecated since 1.24
* @ingroup API
*/
class ApiFormatDbg extends ApiFormatBase {
* @ingroup API
*/
class ApiFormatDbg extends ApiFormatBase {
@@
-38,10
+39,11
@@
class ApiFormatDbg extends ApiFormatBase {
}
public function execute() {
}
public function execute() {
+ $this->markDeprecated();
$this->printText( var_export( $this->getResultData(), true ) );
}
public function getDescription() {
$this->printText( var_export( $this->getResultData(), true ) );
}
public function getDescription() {
- return 'Output data in PHP\'s var_export() format' . parent::getDescription();
+ return '
DEPRECATED!
Output data in PHP\'s var_export() format' . parent::getDescription();
}
}
}
}