Catrope has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/276693

Change subject: Bidi-embed topic titles in notifications
......................................................................

Bidi-embed topic titles in notifications

Bug: T127407
Change-Id: I2bf3d6c6d7f3215301ed9d299654b5e5b45ef016
---
M includes/Notifications/FlowPresentationModel.php
1 file changed, 8 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/93/276693/1

diff --git a/includes/Notifications/FlowPresentationModel.php 
b/includes/Notifications/FlowPresentationModel.php
index 95425d5..c79db7a 100644
--- a/includes/Notifications/FlowPresentationModel.php
+++ b/includes/Notifications/FlowPresentationModel.php
@@ -134,7 +134,14 @@
        }
 
        protected function truncateTopicTitle( $topicTitle ) {
-               return $this->language->truncate( $topicTitle, 
self::SECTION_TITLE_RECOMMENDED_LENGTH, '...', false );
+               return $this->language->embedBidi(
+                       $this->language->truncate(
+                               $topicTitle,
+                               self::SECTION_TITLE_RECOMMENDED_LENGTH,
+                               '...',
+                               false
+                       )
+               );
        }
 
        protected function isUserTalkPage() {

-- 
To view, visit https://gerrit.wikimedia.org/r/276693
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2bf3d6c6d7f3215301ed9d299654b5e5b45ef016
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Catrope <roan.katt...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to