);
return wfMessage( 'autoredircomment', $newTarget->getFullText() )
- ->rawParams( $truncatedtext )->inContentLanguage()->text();
+ ->plaintextParams( $truncatedtext )->inContentLanguage()->text();
case 'changed-redirect-target':
$oldTarget = $oldContent->getRedirectTarget();
$newTarget = $newContent->getRedirectTarget();
if ( $sectionId === 'new' ) {
# Inserting a new section
$subject = $sectionTitle ? wfMessage( 'newsectionheaderdefaultlevel' )
- ->rawParams( $sectionTitle )->inContentLanguage()->text() . "\n\n" : '';
+ ->plaintextParams( $sectionTitle )->inContentLanguage()->text() . "\n\n" : '';
if ( Hooks::run( 'PlaceNewSection', [ $this, $oldtext, $subject, &$text ] ) ) {
$text = strlen( trim( $oldtext ) ) > 0
? "{$oldtext}\n\n{$subject}{$text}"
: $this->linkRenderer->makeLink( $title, $text ? new HtmlArmor( $text ) : null );
return "<span class='searchalttitle'>" .
- $this->specialPage->msg( $msgKey )->rawParams( $inner )->text()
+ $this->specialPage->msg( $msgKey )->rawParams( $inner )->parse()
. "</span>";
}
"<span class='searchalttitle'>" .
$this->specialSearch->msg( 'search-redirect' )->rawParams(
$this->linkRenderer->makeLink( $redirectTitle, $redirectText )
- )->text() .
+ )->parse() .
"</span>";
}