X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fexception%2FMWExceptionRenderer.php;h=5515ef07d7eae7ded6d933970e6067b23ba88588;hp=c52a867865c182c8369f61dcccb222723b39c0ea;hb=fa0f6f34972c0e0f4aac24a03b3efdfc45f256f6;hpb=22ac82f4cd7960735339d23865fce21665ea9c17 diff --git a/includes/exception/MWExceptionRenderer.php b/includes/exception/MWExceptionRenderer.php index c52a867865..5515ef07d7 100644 --- a/includes/exception/MWExceptionRenderer.php +++ b/includes/exception/MWExceptionRenderer.php @@ -199,7 +199,7 @@ class MWExceptionRenderer { // FIXME: Keep logic in sync with MWException::msg. try { - $res = wfMessage( $key, $params )->text(); + $res = wfMessage( $key, ...$params )->text(); } catch ( Exception $e ) { $res = wfMsgReplaceArgs( $fallback, $params ); // If an exception happens inside message rendering,