X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryWatchlistRaw.php;h=a1078a5d48241db7ad26e418c94d39792fa7c6f9;hb=9012dfe523854a125e781d6fb7d255431615d95a;hp=806861e8009c161f9151cd3e36737ef420b8852b;hpb=57eaa2bf04ce1b48bd89c10defe4de5b7d31f047;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryWatchlistRaw.php b/includes/api/ApiQueryWatchlistRaw.php index 806861e800..a1078a5d48 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 = [];