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 Language::parseFormattedNumber for lzh and zh-classical"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiFormatRaw.php
diff --git
a/includes/api/ApiFormatRaw.php
b/includes/api/ApiFormatRaw.php
index
184f0a3
..
af17554
100644
(file)
--- a/
includes/api/ApiFormatRaw.php
+++ b/
includes/api/ApiFormatRaw.php
@@
-32,8
+32,8
@@
class ApiFormatRaw extends ApiFormatBase {
/**
* Constructor
/**
* Constructor
- * @param
$main ApiMain object
- * @param $errorFallback ApiFormatBase object to fall back on for errors
+ * @param
ApiMain $main
+ * @param
ApiFormatBase
$errorFallback ApiFormatBase object to fall back on for errors
*/
public function __construct( $main, $errorFallback ) {
parent::__construct( $main, 'raw' );
*/
public function __construct( $main, $errorFallback ) {
parent::__construct( $main, 'raw' );
@@
-58,6
+58,7
@@
class ApiFormatRaw extends ApiFormatBase {
$data = $this->getResultData();
if ( isset( $data['error'] ) ) {
$this->mErrorFallback->execute();
$data = $this->getResultData();
if ( isset( $data['error'] ) ) {
$this->mErrorFallback->execute();
+
return;
}
return;
}
@@
-66,8
+67,4
@@
class ApiFormatRaw extends ApiFormatBase {
}
$this->printText( $data['text'] );
}
}
$this->printText( $data['text'] );
}
-
- public function getVersion() {
- return __CLASS__ . ': $Id$';
- }
}
}