mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-24 02:48:18 +00:00
CommentFormatter: Don't parse replylink label
Change-Id: Ic2e77b78d12931d5b2c2c6e2cf29b652a2be8aca
This commit is contained in:
parent
bdca6fb54f
commit
6ad1f05d16
|
@ -80,7 +80,7 @@ class CommentFormatter {
|
||||||
$replyLink->setAttribute( 'role', 'button' );
|
$replyLink->setAttribute( 'role', 'button' );
|
||||||
$replyLink->setAttribute( 'tabindex', '0' );
|
$replyLink->setAttribute( 'tabindex', '0' );
|
||||||
$replyLink->setAttribute( 'data-mw-comment', $itemJSON );
|
$replyLink->setAttribute( 'data-mw-comment', $itemJSON );
|
||||||
$replyLink->nodeValue = wfMessage( 'discussiontools-replylink' );
|
$replyLink->nodeValue = wfMessage( 'discussiontools-replylink' )->text();
|
||||||
|
|
||||||
$bracket = $doc->createElement( 'span' );
|
$bracket = $doc->createElement( 'span' );
|
||||||
$bracket->setAttribute( 'class', 'dt-init-replylink-bracket' );
|
$bracket->setAttribute( 'class', 'dt-init-replylink-bracket' );
|
||||||
|
|
Loading…
Reference in a new issue