Forum:Updates to Wikia Chat Feature

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Forums: Yew Grove > Updates to Wikia Chat Feature
Archive
This page or section is an archive.
Please do not edit the contents of this page.
This thread was archived on 13 May 2012 by Urbancowgurl777.


Hello, I am writing to let you know that your wiki has been chosen to receive our latest update to Wikia Chat early! We have been hard at work integrating user requests into the product and are just about ready to release these updates. Before we did, we wanted to test on 10 wikis to make sure everything goes smoothly. We chose your wiki since the community here is so active on chat. We hope to enable the updates tomorrow, unless you foresee an issue. The updates you will see are:

  • Redesigned chat entry point - we added a scroll feature to the chat module, so you will now be able to see everyone that is in the chat before you enter
  • Chat entry point can be added to any page - simply use the tag <chat/> and you can access the entry point on any page!
  • Expanded options for chat mods - when hovering on a user's name in the list, you will have access to more links to moderate a user if need be
    • Kick a user - We've separated this option to provide a temporary "slap on the wrist". Kicked users can rejoin the room immediately.
    • Ban a user - We've replaced the infinite "bannedfromchat" userright with a new system that works just like blocking a user. You can leave a reason and set a time for the ban from within chat.
  • Chat bans logged - all chat bans now have a log and appear in recent changes
  • More small design tweaks.

A couple of things that will happen when we switch over to this new version:

  • Everyone with "bannedfromchat" user right will be switched over to a 6 month ban
  • We've made improvements to chat stability, so there should be less interruptions when folks get disconnected

Please let me know if your wiki is not interested in testing these updates a week early. They are planned to be live on all English wikis next Wednesday May 9th. I will let you know once the switch has been flipped here. If you have any other questions or comments, please let me know. --Sarah<staff /> (help forum | blog) 20:52, May 1, 2012 (UTC)

Discussion

I think these are great changes, and I see forward to them being added. There is one problem which might still not be fixed, which is that it happens that users do not appear in the users list while they can still talk. Those users can't be kicked then. Is there a fix for that that goes along with this update too? JOEYTJE50TALKpull my finger 20:59, May 1, 2012 (UTC)

  • This batch of updates includes a fix for this problem. It was tricky to recreate this bug, however, so please let us know the exact status of these events if they happen to occur again. (i.e. the name of the account who entered, what time, how many people were in chat, etc.) Trevor (Ohmyn0) <staff /> (talk) 21:38, May 1, 2012 (UTC)
In my experience that normally happens when someone has been suffering from join/quit 'spam', although rarely in any quantity, and somehow provides a false negative. Lag might be a cause as sometimes people can speak before the chat logs them as entering, although that isn't the only time it happens. cqm talk 23:46, May 1, 2012 (UTC)
I found it easy to replicate over the AT&T EDGE network on my iPhone than anything else to duplicate. Also applied to 3G, loss of packets plus was interesting to send in things yet not see replies. Those in Chat saw them but me, no. Ryan PM 02:48, May 2, 2012 (UTC)

I'm excited. :) svco4bY.png3Gf5N2F.png 21:01, May 1, 2012 (UTC)

Comment - Sounds cool. I feel as if Kevin will enjoy the kick feature... let's be as much like IRC as [email protected]#@#$ Hair 21:30, May 1, 2012 (UTC)

If nubs like kevin will abuse it we could just make a policy for it. This update will not be turning S:C into an IRC-like chat at all. JOEYTJE50TALKpull my finger 14:48, May 2, 2012 (UTC)
I doubt autorejoin is possible, so kicking in Special:Chat should only be used for rulebreakers. Kicking at will in the IRC is only possible because of autorejoin. Furthermore, even if autorejoin was possible, I doubt kicking chatmods is possible (whereas IRC operators can still be kicked).
Besides, the two points that make IRC infinitely superior to Special:Chat, which are the ability to change your nick and the ability to be pinged, still don't seem to be implemented here. And then once you consider things like RuneScript or the ability to be in multiple channels within the same window, the IRC is still clearly better. --LiquidTalk 15:48, May 2, 2012 (UTC)
getting pinged is possible with [[w:User:Monchoman45/ChatHacks.js]] and User:Joeytje50/chat-pings.js. JOEYTJE50TALKpull my finger 16:50, May 2, 2012 (UTC)
Getting pinged in the IRC does not require going out of your way to install some chat hacks. --LiquidTalk 18:42, May 2, 2012 (UTC)
It's 2 lines of code in your wikia.js. Hardly a huge inconvinience. cqm talk 19:51, May 2, 2012 (UTC)
Well, that's not exactly true -- it's also having to join the chat from a specific button, meaning that you can't bookmark it, you can't reload it, and you can't have your browser auto-open it. Michagogo 21:02, May 3, 2012 (UTC)

Comment Looks good. Bring it on. Small recharge gem.png AnselaJonla Slayer-icon.png 21:31, May 1, 2012 (UTC)

Comment - With the way we currently run our bans (see here for the current list), we don't ban them indefinitely, though I have considered it for a few. Nor do we ban them for 6 months. If the bans could be set to those on the current list that'd be great, but if not we can work around it What I've done Ciphrius Kane Talk 21:40, May 1, 2012 (UTC)

There will be a number of options for the ban. Glad to hear you all will help us out - will let you know once its live here. Cheers, Sarah<staff /> (help forum | blog) 23:31, May 1, 2012 (UTC)

Comment - A proper ban log? I'm on board. =D Matt (t) 23:44, May 1, 2012 (UTC)

2 edit conflicts?!Comment - Overall it looks good. I'm curious as to how the banning from chat works. Since kickbanning as it stands bans a user from chat until we manually change the userrights, does this mean we are prompted to set a time limit as and when we perform such an action, and on what page is it performed? Also, how does increasing/decreasing the time of the ban work? And as a final sidenote, is there any word on how near using checkuser on chat users with no edits is far off? cqm talk 23:46, May 1, 2012 (UTC)

Support - A fix for join/quit spam? I'm in. --Cake detail.pngCaek iz ossumChocolate cake detail.png talk om nom 01:06, May 2, 2012 (UTC)

Comment - The ban log rather than user group rights are much better than the current system. I think the wiki is ready to test that out. Ryan PM 02:48, May 2, 2012 (UTC)

I agree. Matt (t) 04:03, May 2, 2012 (UTC)

Comment - Fantastic update Wikia, can't wait to see it enabled :D. HaidroH rune.pngEagle feather 3.pngCandle (blood red).png 1XqyDNM.png Crystal triskelion fragment 3.pngHazelmere's signet ring.png 09:51, May 2, 2012 (UTC)

This looks great, I'll be eager to see how it all turns out. Ronan Talk 15:42, May 2, 2012 (UTC)

Support - Lovely =D Neitiznot  Choose OptionMy userpage Talk to me! Spam goes here Sign here! 18:18, May 2, 2012 (UTC)

Comment - For those unaware, the update to s:c did attempt to go live earlier today, but is apparently being postponed due to bugs. cqm talk 19:51, May 2, 2012 (UTC)

Now Live! The updates are live here. You will need to leave the old chat, refresh the page and then you can join the new chat. Please let me know of any issues. Sarah<staff /> (help forum | blog) 20:08, May 2, 2012 (UTC)

I found some issues already. On some users, it will say "Member since [object Object]". Hair 20:36, May 2, 2012 (UTC)
Also, there is another square for the avatars. Hair 20:39, May 2, 2012 (UTC)
Hi All, I take it back - no longer live. We ran into some stability issues and so are flipping it off until we fix it. Thanks! --Sarah<staff /> (help forum | blog) 21:13, May 2, 2012 (UTC)
After the update going live again, previously mentioned bugs along with others are still present. Avatars and the date users joined on do not display (still showing "member since [object Object]"), and all chat moderators appear to have two overlapping moderator icons. The right navigation rail also does not function - only users' avatars can be seen. The new design for the rail and scrolling feature looks good, though. I hope you can roll this out to all wikis soon. Ronan Talk 17:55, May 3, 2012 (UTC)

Comment - Now I'm not sure whether this is my connection or not, but every time I've tried joining the new chat, I've disconnected right away What I've done Ciphrius Kane Talk 18:05, May 3, 2012 (UTC)

Hey all, Thanks for your patience as we work on these issues. The chat update is live here (been flipped on and off a few times), but seems to be going smoothly now. Please keep me posted on any issues. Thanks again, --Sarah<staff /> (help forum | blog) 20:07, May 3, 2012 (UTC)
I'm posting this here because Wikia staff is following this thread too. This is directed at them. I've found the solution to the issue with [object Object]. Here's the problem: There is a part of the code that checks if model['editCount'] is larger than 0. The problem with this is that model['editCount'] is a string, which has commas in it for numbers larger than 1000. As JavaScript doesn't recognise "1,000" as a number, "1,000">0 returns false, which makes the thing break. This can be fixed by changing the current code
if(model['editCount']>0){model['since']=wgLangtMonthAbbreviation[model['since']['mon']]+' '+model['since']['year'];}
with
if(parseInt(model['editCount'].replace(',',''))>0){model['since']=wgLangtMonthAbbreviation[model['since']['mon']]+' '+model['since']['year'];}
To test this, you can enter the following code in your console and run it (it has the above change applied):
UserView.prototype.render = function (){var model=this.model.toJSON();$().log(model);if(parseInt(model['editCount'].replace(',',''))>0){model['since']=wgLangtMonthAbbreviation[model['since']['mon']]+' '+model['since']['year'];}
$(this.el).html(this.template(model));$(this.el).attr('id',this.liId());$(this.el).attr('data-user',this.model.get('name'));if(this.model.get('isModerator')===true){$(this.el).addClass('chat-mod');}
if(this.model.get('isStaff')===true){$(this.el).addClass('staff');}
if(this.model.get('statusState')==STATUS_STATE_AWAY){$(this.el).addClass('away');}else{$(this.el).removeClass('away');}
if(this.model.get('name')==wgUserName){$(this.el).css('display','none');$('#ChatHeader .User').html($(this.el).html()).attr('class',$(this.el).attr('class'));}
return this;}
I hope this helps. JOEYTJE50TALKpull my finger 20:31, May 3, 2012 (UTC)
Joey = genius :D cqm talk 23:04, May 3, 2012 (UTC)
Also, to fix the userinfo boxes that appear when hovering over the users' avatars in the sidebar (the rail thingy) you'd need width:200px; in the list of styles for .ChatModule .UserStatsMenu. JOEYTJE50TALKpull my finger 17:18, May 4, 2012 (UTC)

Feedback - I think it would be useful to have a box to ban users for a custom amount of time, other than the preset times given in the dropdown, like with Special:Block. Also, it would be nice to be able to ban users from the chat with the new system while they are not in the chat. That way people can't ragequit just before they would be banned from the chat. JOEYTJE50TALKpull my finger 20:43, May 5, 2012 (UTC)

See their contributions page. Special:Contributions/TyBot, as you see on the list of tools there is a "Ban from chat" option. It doesn't appear on users you can't ban from chat in the chat. svco4bY.png3Gf5N2F.png 20:11, May 7, 2012 (UTC)
Okay good. JOEYTJE50TALKpull my finger 20:46, May 7, 2012 (UTC)

Notice of intent - Unless anyone has anything else to add, this will be closed in a few days. Matt (t) 11:52, May 7, 2012 (UTC)

They will be releasing a new version of their code on wednesday. I think this thread could be useful after that to discuss any bugs that have been fixed, but especially some bugs that have not been fixed yet. JOEYTJE50TALKpull my finger 19:36, May 7, 2012 (UTC)
Looks like the things that needed to be fixed are fixed. This can be closed like matthew said now. JOEYTJE50TALKpull my finger 20:47, May 10, 2012 (UTC)

Closed - The update is now live across all wikis. sssSp7p.pngIjLCqFF.png 06:46, May 13, 2012 (UTC)