Message::rawParams tells the MediaWiki i18n functions to insert the parameter to a message raw - i.e. with no escaping or processing. Since this disables escaping, any usage of rawParams requires careful review. Prior to the introduction of ->plaintextParams(), people sometimes used ->rawParams() where they wanted to stop text processing (e.g. replacing {{SITENAME}} with the name of the site) but did not need to stop escaping.
Now that we have ->plaintextParams(), we should use it for any of the cases where we need to stop text processing but still want escaping.
One can often identify such cases, as they usually use the ->text() message format
The task is to find one instance of wfMessage() (Or more generally, any usage of the i18n system) where ->rawParams can be replaced with ->plaintextParams() without causing any behaviour changes. Important - some usages of ->rawParams() are needed, so you'll only get points for replacing a usage where the no-escaping behaviour of rawParams() is not needed.
You can replace any case that is not using the ->parse(), ->parseAsBlock() or ->escaped() message formats. For example
```lang="php"
$this->context->msg( 'newsectionsummary' )
->rawParams( $cleanSectionTitle )
->inContentLanguage()
->text();
```
Can be safely replaced with plaintextParams:
```lang="php"
$this->context->msg( 'newsectionsummary' )
->plaintextParams( $cleanSectionTitle )
->inContentLanguage()
->text();
```
Because ->text() is a format that is not ->parse(), ->parseAsBlock() or ->escaped().
Although harder to identify, you can also replace `->escaped()` and `->parse()` cases if html escaping is applied prior to calling rawParams() or in cases where a constant value is passed that has no html in it, provided you remove the escaping. However its much harder to find such cases, and you have to be very careful that your change doesn't cause MediaWiki to change.
Once you've changed a ->rawParams to a ->plaintextParams, you should test your changes, to ensure that the output displayed to the user is still the same.
This task applies to both MediaWiki core, as well as any extension in Wikimedia's version control. To complete this task, you only have to fix one instance.