X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryWatchlistRaw.php;h=116f21928dcd6f22d90cce02ac6b6d02b5682c36;hb=036b9c41674a8eb1bdcd71a15fffb5a091223d9e;hp=806861e8009c161f9151cd3e36737ef420b8852b;hpb=99dbf4e1d4d7f18e02935bdb8cd3be4413ffe729;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryWatchlistRaw.php b/includes/api/ApiQueryWatchlistRaw.php index 806861e800..116f21928d 100644 --- a/includes/api/ApiQueryWatchlistRaw.php +++ b/includes/api/ApiQueryWatchlistRaw.php @@ -60,7 +60,7 @@ class ApiQueryWatchlistRaw extends ApiQueryGeneratorBase { if ( isset( $show[WatchedItemQueryService::FILTER_CHANGED] ) && isset( $show[WatchedItemQueryService::FILTER_NOT_CHANGED] ) ) { - $this->dieUsageMsg( 'show' ); + $this->dieWithError( 'apierror-show' ); } $options = []; @@ -198,6 +198,6 @@ class ApiQueryWatchlistRaw extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Watchlistraw'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Watchlistraw'; } }