Remove <bdi> around comments in Special:Contributions
.comment has a unicode-bidi: isolate; so this isn't needed. It fixes yet other regression of I919bb8270ddb13b38d747dba1a3a7fa0d3bb1a4f Bug: T377555 Change-Id: Id60a7df155e550639004543026459b97eb01d840
This commit is contained in:
parent
b03632c26a
commit
5a318a56cc
1 changed files with 1 additions and 3 deletions
|
|
@ -821,7 +821,6 @@ abstract class ContributionsPager extends RangeChronologicalPager {
|
|||
* @return string
|
||||
*/
|
||||
protected function formatComment( $row ) {
|
||||
$dir = $this->getLanguage()->getDir();
|
||||
$comment = $this->formattedComments[$row->{$this->revisionIdField}];
|
||||
|
||||
if ( $comment === '' ) {
|
||||
|
|
@ -829,8 +828,7 @@ abstract class ContributionsPager extends RangeChronologicalPager {
|
|||
$comment = "<span class=\"comment mw-comment-none\">$defaultComment</span>";
|
||||
}
|
||||
|
||||
$comment = Html::rawElement( 'bdi', [ 'dir' => $dir ], $comment );
|
||||
|
||||
// Don't wrap result of this with <bdi> or any other element, see T377555
|
||||
return $comment;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue