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 "Fix hook documentation for UploadFormSourceDescriptors"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiFormatBase.php
diff --git
a/includes/api/ApiFormatBase.php
b/includes/api/ApiFormatBase.php
index
f54f20f
..
e522d70
100644
(file)
--- a/
includes/api/ApiFormatBase.php
+++ b/
includes/api/ApiFormatBase.php
@@
-387,10
+387,11
@@
abstract class ApiFormatBase extends ApiBase {
* are required to ignore it or filter it out.
*
* @deprecated since 1.25
- * @return bool
+ * @return bool
Always true
*/
public function getNeedsRawData() {
- return false;
+ wfDeprecated( __METHOD__, '1.25' );
+ return true;
}
/**@}*/