Robert Vogel has submitted this change and it was merged.

Change subject: fix wrong language params
......................................................................


fix wrong language params

Change-Id: Icd38c9b7af869959ce41e3f8d3dbc6e8aa8fb983
---
M ShoutBox/ShoutBox.class.php
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Robert Vogel: Verified; Looks good to me, approved
  jenkins-bot: Checked



diff --git a/ShoutBox/ShoutBox.class.php b/ShoutBox/ShoutBox.class.php
index a41827d..5a84ffb 100644
--- a/ShoutBox/ShoutBox.class.php
+++ b/ShoutBox/ShoutBox.class.php
@@ -585,7 +585,7 @@
                                        )->plain();
                        $oUser = User::newFromId( $iUserId );
                        $sMessage = wfMessage(
-                                       
'bs-shoutbox-notifications-title-message-text', 
BsCore::getUserDisplayName($oUser), Linker::link( Article::newFromID( 
$iArticleId )->getTitle() ), Linker::link( $oUser )
+                                       
'bs-shoutbox-notifications-title-message-text', $oUser, 
BsCore::getUserDisplayName($oUser), Linker::link( Article::newFromID( 
$iArticleId )->getTitle() ), Linker::link( $oUser )
                                        )->plain();
                        BsMailer::getInstance( 'MW' )->send( $aUsers, 
$sSubject, $sMessage );
                }
@@ -628,12 +628,12 @@
                        'group' => 'neutral',
                        'formatter-class' => 'BsNotificationsFormatter',
                        'title-message' => 
'bs-shoutbox-notifications-title-message-text',
-                       'title-params' => array( 'agentlink', 'titlelink' ),
+                       'title-params' => array( 'agent', 'agentlink', 
'titlelink' ),
                        'flyout-message' => 
'bs-shoutbox-notifications-title-message-text',
-                       'title-params' => array( 'agentlink', 'titlelink' ),
+                       'title-params' => array( 'agent', 'agentlink', 
'titlelink' ),
                        'email-subject-message' => 
'bs-shoutbox-notifications-title-message-subject',
                        'email-body-message' => 
'bs-shoutbox-notifications-title-message-text',
-                       'title-params' => array( 'agentlink', 'titlelink' ),
+                       'title-params' => array( 'agent', 'agentlink', 
'titlelink' ),
                );
                return true;
        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icd38c9b7af869959ce41e3f8d3dbc6e8aa8fb983
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Tweichart <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pigpen <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to