Why: - Calling getMessage()/getWikiText() with a good Status is a logic error that converts the Status being operated on into a fatal one. - However, this error is never logged anywhere, which can make it difficult to diagnose such cases, as seen in I17166e988bf389a5b03d4a74f539f7bec7f5997f. What: - Add a warning-level log for the case when getMessage() or getWikiText() is invoked with a good Status. Bug: T374436 Change-Id: I3efae5c4c336156924f1c9b4186fa9142aaed9ca |
||
|---|---|---|
| .. | ||
| GrantsInfoTest.php | ||
| GroupPermissionsLookupTest.php | ||
| PermissionManagerTest.php | ||
| PermissionStatusTest.php | ||
| RateLimitSubjectTest.php | ||
| RestrictionStoreTest.php | ||
| SimpleAuthorityTest.php | ||
| UltimateAuthorityTest.php | ||
| UserAuthorityTest.php | ||