Catrope has uploaded a new change for review.

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

Change subject: Follow-up 9a1defa5: unbreak mention notifications
......................................................................

Follow-up 9a1defa5: unbreak mention notifications

Actually pass a username into getTruncatedUsername().

Change-Id: I69ad0ea12d4b4785fbfeec801228cae518fd0a05
---
M includes/formatters/MentionPresentationModel.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/02/276902/1

diff --git a/includes/formatters/MentionPresentationModel.php 
b/includes/formatters/MentionPresentationModel.php
index e97fd08..fcefb60 100644
--- a/includes/formatters/MentionPresentationModel.php
+++ b/includes/formatters/MentionPresentationModel.php
@@ -65,7 +65,7 @@
                        // make sure it is a user talk page but NOT the agent's 
talk page.
                } elseif ( $this->onUserTalkpage() ) {
                        $username = $this->event->getTitle()->getText();
-                       $msg->params( $this->getTruncatedUsername() );
+                       $msg->params( $this->getTruncatedUsername( $username ) 
);
                        $msg->params( $username );
                } else {
                        $msg->params( $this->getTruncatedTitleText( 
$this->event->getTitle(), true ) );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I69ad0ea12d4b4785fbfeec801228cae518fd0a05
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to