Anomie has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/378090 )

Change subject: ApiFeedWatchlist: Fix copy-paste error
......................................................................

ApiFeedWatchlist: Fix copy-paste error

Change-Id: Ibea5bd881c746d7c27c97fc470ee1e3ac9d4b699
---
M includes/api/ApiFeedWatchlist.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/90/378090/1

diff --git a/includes/api/ApiFeedWatchlist.php 
b/includes/api/ApiFeedWatchlist.php
index b7c5ccc..e3a757f 100644
--- a/includes/api/ApiFeedWatchlist.php
+++ b/includes/api/ApiFeedWatchlist.php
@@ -167,7 +167,7 @@
                                        // 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, '', '', '' );
                        }

-- 
To view, visit https://gerrit.wikimedia.org/r/378090
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibea5bd881c746d7c27c97fc470ee1e3ac9d4b699
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Anomie <bjor...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to