Robert Vogel has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/365241 )
Change subject: ShoutBox: usernames with a blank space between didn't work. ...................................................................... ShoutBox: usernames with a blank space between didn't work. Fixed issue from ERM#6680 Change-Id: Ib4d0bcb5a2566866ddd6a9230434ac0f6f2c8687 --- M ShoutBox/resources/bluespice.shoutBox.mention.js 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions refs/changes/41/365241/1 diff --git a/ShoutBox/resources/bluespice.shoutBox.mention.js b/ShoutBox/resources/bluespice.shoutBox.mention.js index 8cc6802..34e2b8a 100644 --- a/ShoutBox/resources/bluespice.shoutBox.mention.js +++ b/ShoutBox/resources/bluespice.shoutBox.mention.js @@ -18,7 +18,7 @@ replace: function ( mention ) { //put the username in the shoutbox, not the displayname for better usage later var username = mention.match( /\((.*?)\)/ ); - return '@' + username[1] + ' '; + return '@' + username[1].replace(' ', '_') + ' '; }, getUsers: function () { $.getJSON( bs.api.makeUrl( 'bs-user-store', { limit: 9999999 } ), function ( data ) { -- To view, visit https://gerrit.wikimedia.org/r/365241 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib4d0bcb5a2566866ddd6a9230434ac0f6f2c8687 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: REL1_27 Gerrit-Owner: Robert Vogel <vo...@hallowelt.biz> Gerrit-Reviewer: Nasty <kon...@hallowelt.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits