MediaWiki master
MediaWiki\Revision\BadRevisionException Class Reference

Exception raised when the text of a revision is permanently missing or corrupt. More...

Inherits MediaWiki\Revision\RevisionAccessException.

Collaboration diagram for MediaWiki\Revision\BadRevisionException:

Additional Inherited Members

- Public Member Functions inherited from MediaWiki\Revision\RevisionAccessException
 __construct (string $normalizedMessage='', array $messageContext=[], int $code=0, ?Throwable $previous=null)
 

Detailed Description

Exception raised when the text of a revision is permanently missing or corrupt.

This wraps BadBlobException which is thrown by the Storage layer. To mark a revision as permanently missing, use findBadBlobs.php.

Definition at line 10 of file BadRevisionException.php.


The documentation for this class was generated from the following file: