Robert Vogel has uploaded a new change for review.
https://gerrit.wikimedia.org/r/193065
Change subject: fix wrong language params
......................................................................
fix wrong language params
Change-Id: Icd38c9b7af869959ce41e3f8d3dbc6e8aa8fb983
(cherry picked from commit f0d885ba074256e7fdc826a80080dd81f103fccd)
---
M ShoutBox/ShoutBox.class.php
1 file changed, 4 insertions(+), 4 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions
refs/changes/65/193065/1
diff --git a/ShoutBox/ShoutBox.class.php b/ShoutBox/ShoutBox.class.php
index fce9549..6fcd988 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/193065
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd38c9b7af869959ce41e3f8d3dbc6e8aa8fb983
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: REL1_23
Gerrit-Owner: Robert Vogel <[email protected]>
Gerrit-Reviewer: Tweichart <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits