MediaWiki master
|
Thrown when ExtensionRegistry cannot open the extension.json or skin.json file. More...
Inherits Exception.
Public Member Functions | |
__construct (string $path, string $error) | |
render () | |
Output an error response and exit. | |
Thrown when ExtensionRegistry cannot open the extension.json or skin.json file.
We handle this case specially, because it is one of the more common errors a new MW sysadmin is likely to encounter and we want their initial experience to be good. wfLoadExtension() generally happens before MWExceptionRenderer gets installed so we cannot use that.
Definition at line 22 of file MissingExtensionException.php.
MediaWiki\Registration\MissingExtensionException::__construct | ( | string | $path, |
string | $error ) |
string | $path | Path of file that cannot be read |
string | $error | Text of error mtime gave |
Definition at line 32 of file MissingExtensionException.php.
References $path.
MediaWiki\Registration\MissingExtensionException::render | ( | ) |
Output an error response and exit.
Definition at line 94 of file MissingExtensionException.php.