CommentFormatter: Don't parse replylink label

Change-Id: Ic2e77b78d12931d5b2c2c6e2cf29b652a2be8aca
This commit is contained in:
Ed Sanders 2020-12-15 22:18:08 +00:00
parent bdca6fb54f
commit 6ad1f05d16

View file

@ -80,7 +80,7 @@ class CommentFormatter {
$replyLink->setAttribute( 'role', 'button' );
$replyLink->setAttribute( 'tabindex', '0' );
$replyLink->setAttribute( 'data-mw-comment', $itemJSON );
$replyLink->nodeValue = wfMessage( 'discussiontools-replylink' );
$replyLink->nodeValue = wfMessage( 'discussiontools-replylink' )->text();
$bracket = $doc->createElement( 'span' );
$bracket->setAttribute( 'class', 'dt-init-replylink-bracket' );