User blog:ShermanTheMythran/Apology for Chat Bug

As many of you are already well aware, chat bugged massively today. Yes, there were problems with Wikia's code. But the code that made everyone have to refresh was my fault. Yesterday, I decided I would make support for mobile devices easier by adding a manual "Send" button. The idea of this button was to send whatever text was in the message box, as many now know. It worked, but there was a major bug. If you clicked "Submit" or "Submit Query" (the text "Send" didn't properly show up on the button) while the message text box was empty, everyone would glitch. Each user in chat would have to refresh two or three times to get chat back to normal. It was incredibly annoying, and went on for several hours. Seaside finally removed the faulty code, and it should be back to normal as soon as your cache is cleared.

Unfortunately, by releasing this faulty code, I unveiled a section of the code that made everyone glitch. By applying this code through their consoles, chat can still be crashed. Anyone caught using the code will be immediately banned, no exceptions. In the mean time, I will work hard to find a way to counter this issue. As far as the code goes (since the premise of the button was still a good idea), I have rewritten/appended parts of it, and it is now foolproof as far as I can see (code at bottom of blog, admins can try/test/apply at their own discretion).

I feel that apologies should be in order for this situation. First off, I owe Rose an apology for losing my cool with her when she unknowingly took advantage of the bug. Nobody deserves to be spoken to like that, for any reason. Secondly, I owe Rio an apology; I flipped out with him too. At least he knows how to clear his cache now, eh? Lastly, and most importantly, I owe everyone an apology. I was lazy with my code, I didn't thoroughly test it, and this huge mess was created because of it. I will do my absolute best to make sure that this doesn't happen again in the future. Thank you.