X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiParse.php;h=7ec0e2ea2543a85dcdbce8914324b1cbf77c6d05;hb=e65f8ac5110804067366f9f239c13f4f29b66c3d;hp=2e7db78327135c0243e1fe81627fe0e0288d59e5;hpb=88d9cc22d31b526b309c163b62b1899c813c63aa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index 2e7db78327..7ec0e2ea25 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -599,7 +599,9 @@ class ApiParse extends ApiBase { $pout = $page->getParserOutput( $popts, $revId, $suppressCache ); } if ( !$pout ) { - $this->dieWithError( [ 'apierror-nosuchrevid', $revId ?: $page->getLatest() ] ); // @codeCoverageIgnore + // @codeCoverageIgnoreStart + $this->dieWithError( [ 'apierror-nosuchrevid', $revId ?: $page->getLatest() ] ); + // @codeCoverageIgnoreEnd } return $pout;