Merge "Resolve required parameter after optional in Message"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 9 Jun 2018 08:53:09 +0000 (08:53 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 9 Jun 2018 08:53:09 +0000 (08:53 +0000)
includes/Message.php

index fb6dcc5..84ab7ca 100644 (file)
@@ -1128,7 +1128,7 @@ class Message implements MessageSpecifier, Serializable {
         *
         * @return string
         */
-       protected function replaceParameters( $message, $type = 'before', $format ) {
+       protected function replaceParameters( $message, $type, $format ) {
                // A temporary marker for $1 parameters that is only valid
                // in non-attribute contexts. However if the entire message is escaped
                // then we don't want to use it because it will be mangled in all contexts