X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FMessage.php;h=fd67613e28d2ab7faf73d5e3866ff48fcf20c4bf;hb=f44275ec1f2d243563b60041b7a29052f60bda24;hp=3893c9deb379e7136486ecc3cdaf37172d7fa311;hpb=12cff88fd3665f6fa37c70413051d083f9e1c83b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Message.php b/includes/Message.php index 3893c9deb3..fd67613e28 100644 --- a/includes/Message.php +++ b/includes/Message.php @@ -1305,9 +1305,9 @@ class Message implements MessageSpecifier, Serializable { */ protected function formatListParam( array $params, $listType, $format ) { if ( !isset( self::$listTypeMap[$listType] ) ) { - $warning = 'Invalid list type for message "' . $this->getKey() . '": ' . - htmlspecialchars( serialize( $params ) - ); + $warning = 'Invalid list type for message "' . $this->getKey() . '": ' + . htmlspecialchars( $listType ) + . ' (params are ' . htmlspecialchars( serialize( $params ) ) . ')'; trigger_error( $warning, E_USER_WARNING ); $e = new Exception; wfDebugLog( 'Bug58676', $warning . "\n" . $e->getTraceAsString() );