$wgLang is usually going to be a stub, since its semi-deprecated so more and more code-paths don't call it. I'm not exactly sure what checking it was supposed to accomplish. Note that MWExceptionRenderer has very similar logic that does not check $wgLang Bug: T246619 Change-Id: I101a60b6fb3bc2c1abfa16fd1784caab3f75a95b |
||
|---|---|---|
| .. | ||
| BadTitleErrorTest.php | ||
| ErrorPageErrorTest.php | ||
| HttpErrorTest.php | ||
| MWExceptionTest.php | ||
| ReadOnlyErrorTest.php | ||
| ThrottledErrorTest.php | ||
| UserNotLoggedInTest.php | ||