jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Mooeypoo: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I2bf3d6c6d7f3215301ed9d299654b5e5b45ef016
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>
Gerrit-Reviewer: Mooeypoo <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits