aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/htmlform/HTMLFormField.php2
-rw-r--r--includes/logging/LogEventsList.php2
-rw-r--r--includes/specials/pagers/UsersPager.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/includes/htmlform/HTMLFormField.php b/includes/htmlform/HTMLFormField.php
index 75968d85e34b..397242bdb20d 100644
--- a/includes/htmlform/HTMLFormField.php
+++ b/includes/htmlform/HTMLFormField.php
@@ -1282,7 +1282,7 @@ abstract class HTMLFormField {
$msg = $this->msg( $key );
$msgAsText = $needsParse ? $msg->parse() : $msg->plain();
if ( array_key_exists( $msgAsText, $ret ) ) {
- LoggerFactory::getInstance( 'error' )->error(
+ LoggerFactory::getInstance( 'translation-problem' )->error(
'The option that uses the message key {msg_key_one} has the same translation as ' .
'another option in {lang}. This means that {msg_key_one} will not be used as an option.',
[
diff --git a/includes/logging/LogEventsList.php b/includes/logging/LogEventsList.php
index 592a7d7b51ef..c8d869b722ec 100644
--- a/includes/logging/LogEventsList.php
+++ b/includes/logging/LogEventsList.php
@@ -230,7 +230,7 @@ class LogEventsList extends ContextSource {
$page = new LogPage( $type );
$pageText = $page->getName()->text();
if ( in_array( $pageText, $typesByName ) ) {
- LoggerFactory::getInstance( 'error' )->error(
+ LoggerFactory::getInstance( 'translation-problem' )->error(
'The log type {log_type_one} has the same translation as {log_type_two} for {lang}. ' .
'{log_type_one} will not be displayed in the drop down menu on Special:Log.',
[
diff --git a/includes/specials/pagers/UsersPager.php b/includes/specials/pagers/UsersPager.php
index 3cc7515e6e99..a386aa3715ba 100644
--- a/includes/specials/pagers/UsersPager.php
+++ b/includes/specials/pagers/UsersPager.php
@@ -382,7 +382,7 @@ class UsersPager extends AlphabeticPager {
$groupOptions = [ $this->msg( 'group-all' )->text() => '' ];
foreach ( $this->getAllGroups() as $group => $groupText ) {
if ( array_key_exists( $groupText, $groupOptions ) ) {
- LoggerFactory::getInstance( 'error' )->error(
+ LoggerFactory::getInstance( 'translation-problem' )->error(
'The group {group_one} has the same translation as {group_two} for {lang}. ' .
'{group_one} will not be displayed in group dropdown of the UsersPager.',
[