Merge "SpecialThanks: Document generated i18n keys"

This commit is contained in:
jenkins-bot 2024-02-27 15:44:53 +00:00 committed by Gerrit Code Review
commit 6f84512327

View file

@ -117,6 +117,9 @@ class SpecialThanks extends FormSpecialPage {
} elseif ( $this->type === 'flow' ) {
$msgKey = 'flow-thanks-confirmation-special';
} else {
// The following messages are used here
// * thanks-confirmation-special-rev
// * thanks-confirmation-special-log
$msgKey = 'thanks-confirmation-special-' . $this->type;
}
return '<p>' . $this->msg( $msgKey )->escaped() . '</p>';