The two system messages should allow wikitext.
The messages have been customized on many wikis to
include additional links and other HTML features.
Previously they allowed raw HTML.
Follows up Ifd696ecd and Ibcc1b499.
Bug: T86702
Bug: T87269
Change-Id: I6e67906a8c2a06c63620b0fb49226335ccb84650
return $this->msg( 'retrievedfrom' )
->rawParams( '<a dir="ltr" href="' . $url. '">' . $url . '</a>' )
- ->escaped();
+ ->parse();
}
/**
if ( $timestamp ) {
$d = $this->getLanguage()->userDate( $timestamp, $this->getUser() );
$t = $this->getLanguage()->userTime( $timestamp, $this->getUser() );
- $s = ' ' . $this->msg( 'lastmodifiedat', $d, $t )->escaped();
+ $s = ' ' . $this->msg( 'lastmodifiedat', $d, $t )->parse();
} else {
$s = '';
}