X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiMain.php;h=604fdf9e70ef660f7a68ed33d8b409ec72ce8442;hb=22806b0a4509e97b56fb52b387e17e3c80fb7eb2;hp=9e008304904cd05bcba341b3157176ea4a57b421;hpb=9e1a18f4041efa40b6091e967a05d25753d21a62;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 9e00830490..604fdf9e70 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -26,6 +26,7 @@ */ use MediaWiki\Logger\LoggerFactory; +use Wikimedia\Timestamp\TimestampException; /** * This is the main API class, used for both external and internal processing. @@ -574,7 +575,7 @@ class ApiMain extends ApiBase { * @param Exception $e */ protected function handleException( Exception $e ) { - // Bug 63145: Rollback any open database transactions + // T65145: Rollback any open database transactions if ( !( $e instanceof ApiUsageException || $e instanceof UsageException ) ) { // UsageExceptions are intentional, so don't rollback if that's the case try { @@ -1668,7 +1669,7 @@ class ApiMain extends ApiBase { $ret = $this->getRequest()->getVal( $name ); if ( $ret === null ) { if ( $this->getRequest()->getArray( $name ) !== null ) { - // See bug 10262 for why we don't just implode( '|', ... ) the + // See T12262 for why we don't just implode( '|', ... ) the // array. $this->addWarning( [ 'apiwarn-unsupportedarray', $name ] ); }