MediaWiki REL1_41
|
Exception thrown when trying to render a diff between two content types which cannot be compared (this is typically the case for all content types unless both of them are some variant of TextContent). More...
Inherits LocalizedException.
Public Member Functions | |
__construct ( $oldModel, $newModel) | |
Public Member Functions inherited from LocalizedException | |
__construct ( $messageSpec, $code=0, Throwable $previous=null) | |
getMessageObject () | |
Return a Message object for this exception. | |
Additional Inherited Members | |
Protected Attributes inherited from LocalizedException | |
string array MessageSpecifier | $messageSpec |
Exception thrown when trying to render a diff between two content types which cannot be compared (this is typically the case for all content types unless both of them are some variant of TextContent).
SlotDiffRenderer and DifferenceEngine classes should generally throw this exception when handed a content object they don't know how to diff against.
Definition at line 33 of file IncompatibleDiffTypesException.php.
IncompatibleDiffTypesException::__construct | ( | $oldModel, | |
$newModel ) |
string | $oldModel | Content model of the "old" side of the diff |
string | $newModel | Content model of the "new" side of the diff |
Definition at line 39 of file IncompatibleDiffTypesException.php.
References wfMessage().