Follows-up
ef06b528d9, which fixed the severity of all PHP errors
to have severity "Warning" or higher.
However, it also accidentally changed the label of "Notice"
to "Warning", which is confusing and incorrect.
Change-Id: Iffd39aa23b7f2cbff5cdaf876b8d4d595dcd6f96
$levelName = 'Notice';
$severity = LogLevel::ERROR;
break;
$levelName = 'Notice';
$severity = LogLevel::ERROR;
break;
+ // Used by wfWarn(), MWDebug::warning()
+ $levelName = 'Notice';
+ $severity = LogLevel::WARNING;
+ break;
+ case E_USER_WARNING:
// Used by wfWarn(), MWDebug::warning()
$levelName = 'Warning';
$severity = LogLevel::WARNING;
// Used by wfWarn(), MWDebug::warning()
$levelName = 'Warning';
$severity = LogLevel::WARNING;