wiki.techinc.nl/includes/templates/ExtensionConfigError.mustache
Brian Wolff 67d13660a4 registration: Add a friendly error message for missing extension
Based on Project:Support_desk, this seems to be a very common error.
Many more novice users seem to get confused by the technical message
involving "stat failed". Given that this might be the first user's
first experience with MW, I think its prudent to make it friendly
as possible.

This error message does not do i18n. I didn't do i18n to avoid
dependencies on MW stuff as it is very early in the setup process,
exceptions aren't usually i18n'd, and its entirely possible that
this error happens before a language is even set.

This does not respect $wgShowExceptionDetails. I think that can
be justified because this error happens during setup and not during
normal operation and there would be no user controlled values in
the backtrace just paths.

Bug: T321363
Change-Id: I4ed0d333d57626d05c361d08f1bf4a919115d550
2023-03-15 08:00:22 -07:00

28 lines
725 B
Text

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8" />
<title>MediaWiki {{version}} - Configuration error</title>
<style>
body {
color: #000;
background-color: #fff;
font-family: sans-serif;
margin: 4em;
}
h1 {
font-size: 175%;
}
</style>
</head>
<body>
<img src="{{mwLogo}}" alt="MediaWiki" title="The MediaWiki logo" />
<h1>{{extName}} configuration error</h1>
<div>
<p>MediaWiki is unable to load the {{type}} <em>{{extName}}</em>. Please check that the {{type}}'s name is correct and all of its files are properly installed.</p>
<p>Details:<br> Error reading <code>{{path}}</code>. {{error}}.</p>
<pre>{{trace}}</pre>
</div>
</body>
</html>