dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
7584cd9
)
Merge "ApiResult: Remove double space in error message"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Mon, 29 Aug 2016 14:47:46 +0000
(14:47 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 29 Aug 2016 14:47:46 +0000
(14:47 +0000)
includes/api/ApiResult.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiResult.php
b/includes/api/ApiResult.php
index
00846f5
..
e308ba4
100644
(file)
--- a/
includes/api/ApiResult.php
+++ b/
includes/api/ApiResult.php
@@
-415,7
+415,7
@@
class ApiResult implements ApiSerializable {
if ( $this->maxSize !== false && $newsize > $this->maxSize ) {
/// @todo Add i18n message when replacing calls to ->setWarning()
$msg = new ApiRawMessage( 'This result was truncated because it would otherwise ' .
- '
be larger than the limit of $1 bytes', 'truncatedresult' );
+ 'be larger than the limit of $1 bytes', 'truncatedresult' );
$msg->numParams( $this->maxSize );
$this->errorFormatter->addWarning( 'result', $msg );
return false;