UltrasonicNXT has submitted this change and it was merged.

Change subject: Fix join notifications
......................................................................


Fix join notifications

Spotted by Codyn329

Change-Id: Ib33a06cdb0d13d85a52dfd17561535b99637edab
---
M MediaWikiChat.js
M MediaWikiChat.php
2 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  UltrasonicNXT: Verified; Looks good to me, approved



diff --git a/MediaWikiChat.js b/MediaWikiChat.js
index 3e0b604..e964b4c 100644
--- a/MediaWikiChat.js
+++ b/MediaWikiChat.js
@@ -503,7 +503,7 @@
                        } );
                } );
 
-               MediaWikiChat.flashJoinLeave();
+               MediaWikiChat.flashJoinLeave( mw.message( 'chat-joined', 
user.name, user.gender ).text() );
        },
 
        removeUser: function( userId ) {
@@ -514,7 +514,7 @@
 
                MediaWikiChat.addSystemMessage( mw.message( 'chat-left', 
user.name, user.gender ).text(), MediaWikiChat.now() );
                MediaWikiChat.scrollToBottom();
-               MediaWikiChat.flashJoinLeave( mw.message( 'chat-left', 
user.name, user.gender ).text());
+               MediaWikiChat.flashJoinLeave( mw.message( 'chat-left', 
user.name, user.gender ).text() );
        },
 
        clickUser: function() {
diff --git a/MediaWikiChat.php b/MediaWikiChat.php
index eda9283..7e7e185 100644
--- a/MediaWikiChat.php
+++ b/MediaWikiChat.php
@@ -16,7 +16,7 @@
 $wgExtensionCredits['specialpage'][] = array(
        'path' => __FILE__,
        'name' => 'MediaWikiChat',
-       'version' => '2.13.2',
+       'version' => '2.13.3',
        'author' => 'Adam Carter/UltrasonicNXT',
        'url' => 'https://www.mediawiki.org/wiki/Extension:MediaWikiChat',
        'descriptionmsg' => 'chat-desc',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib33a06cdb0d13d85a52dfd17561535b99637edab
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MediaWikiChat
Gerrit-Branch: master
Gerrit-Owner: UltrasonicNXT <adamr_car...@btinternet.com>
Gerrit-Reviewer: UltrasonicNXT <adamr_car...@btinternet.com>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to