Merge "Handle hidden revisions in user page edit notification"

This commit is contained in:
jenkins-bot 2024-11-04 19:12:38 +00:00 committed by Gerrit Code Review
commit 07a52928f8

View file

@ -62,7 +62,7 @@ class EchoEditUserPagePresentationModel extends EchoEventPresentationModel {
$summary = MediaWikiServices::getInstance()->getCommentFormatter()->format( $summary );
$summary = Sanitizer::stripAllTags( $summary );
} else {
$summary = false;
$summary = $this->msg( 'rev-deleted-comment' )->text();
}
if ( !$this->isBundled() ) {
return new RawMessage( '$1', [ Message::plaintextParam( $summary ) ] );