X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiFeedWatchlist.php;h=e3a757f79a5c55441c833ef21f91b88801c40955;hp=7f349bce5d6a0477209675514331a6ee4c9c1790;hb=a8379682a46a428320c88702c800a6107c015137;hpb=9ad27459646786b011a98ed30966be621edab55f diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php index 7f349bce5d..e3a757f79a 100644 --- 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, '', '', '' ); } @@ -307,6 +307,6 @@ class ApiFeedWatchlist extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Watchlist_feed'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Watchlist_feed'; } }