dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
1013729
)
Merge "Localisation updates from https://translatewiki.net."
author
L10n-bot
<l10n-bot@translatewiki.net>
Thu, 14 Sep 2017 20:04:33 +0000
(20:04 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 14 Sep 2017 20:04:33 +0000
(20:04 +0000)
includes/api/ApiFeedWatchlist.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiFeedWatchlist.php
b/includes/api/ApiFeedWatchlist.php
index
b7c5ccc
..
e3a757f
100644
(file)
--- a/
includes/api/ApiFeedWatchlist.php
+++ b/
includes/api/ApiFeedWatchlist.php
@@
-167,7
+167,7
@@
class ApiFeedWatchlist extends ApiBase {
// Something is seriously wrong
$errorCode = 'internal_api_error';
}
- $errorTitle = $this->msg( 'api-feed-error-title', $
msg->getApiCode()
);
+ $errorTitle = $this->msg( 'api-feed-error-title', $
errorCode
);
$errorText = $e->getMessage();
$feedItems[] = new FeedItem( $errorTitle, $errorText, '', '', '' );
}