User talk:Monchoman45/Archive 6

Ping phrases within chat hacks
I'm not sure if it's my computer/browser, but it seems I can't edit my ping phrases. The box where the prases are disappears whenever the cursor leaves the blue link, meaning I cannot edit any of the text. Can you fix this? Shotrocket6 08:22, November 25, 2011 (UTC)


 * What browser are you using?
 * Chrome. For some reason, I'm not having this problem on my laptop, but only my desktop. Shotrocket6 21:44, November 25, 2011 (UTC)
 * What OSes do they use?
 * The laptop uses 7 and the desktop uses XP. Shotrocket6 00:49, November 26, 2011 (UTC)
 * It may be because XP is outdated. You should try installing 7 on your desktop and see if that helps.
 * Thatg's prob. not it. I use XP SP3 and ping editing works for me. Does your desktop have SP2 or SP1? SP stands for Service Pack -- Kangaroopowah  - Talk  01:41, November 26, 2011 (UTC)
 * I'm using SP3. I'm not at liberty to change the OS because it's a shared computer, so I can't install 7. Shotrocket6 00:13, November 27, 2011 (UTC)


 * Sorry for ninja, but I also experience the same thing as Shot. My OS is Windows 7 and Chrome has been updated to version 17 too. 01:07, February 12, 2012 (UTC)
 * Just to pop in, I'm using XP 200-something Professional, and it works fine for me, and it also works fine for my on Windows 2003 Home, so I think it might be conflicting .js or .css coding which is causing a problem. If not, try refreshing your cache or something to that effect to see if that might be the problem. 22:09, February 29, 2012 (UTC)

Image filenames in categories
Hey, Monchoman45. Have you seen my latest comment here: forum: Image titles in categories. Need CSS/JS fix to allow more than 20 characters. The section about choosing the number of characters to allow. Besides using this in various Wikia wikis, I am trying also to figure something out for the Wikimedia Commons. Timeshifter (talk) 10:42, December 2, 2011 (UTC)

Problems and questions
Hi Monch! I copied a few of your codes here. But Special:B3 doesn't work on my wiki. Maybe it is because they link changes from the "Special:B3" to "Specialna:B3" - I don't know. So... can you help me with this?

Moreover, this code: /* change Publish to Save and Change name to Move */ function PublishToSave { $('#wpSave').val('Zapisz'); $('a[data-id="move"]').html('Przenieś'); } if(readCookie('globalJS') == 'true' && skin == 'oasis') {addOnloadHook(PublishToSave);} doesn't work too. I would like to:
 * "Publish" button was changed to "Zapisz";
 * the button "Change name" was changed to "Przenieś";
 * button with history was changed to "Historia".

By the way I can't see Quickblock links. Where they are / should be located?

And I have the question: what is wham? Thank you in advance for your help,

 http://images.wikia.com/common/avatars/thumb/d/d5/2042298.png/18px-2042298.png[ MarkosBoss]   15:33,12/2/2011  [ Talk | Dyskusja ] [ Contribs | Wkład ] GothicPedia


 * B3 wasn't working because of how MediaWiki deals with wikis configured in a language other than english. I have fixed this, so it should now load on a wiki in any language once you clear your cache. Per the other code, everything in my global.js is tied into a toggle system, so it won't load for other people. You have to remove the  from around the   for either of them to work.

Not Allowed to Chat
I was in chat and it wouldn't show what I typed all of a sudden. I reloaded and it worked for a second but then had the same problem again. Does it have anything to do with the chat hacks? HBH  TALK  22:03, December 2, 2011 (UTC)


 * Does it tell you you've connected from another browser?


 * No, it simply won't show me what I type. HBH  TALK  16:27, December 4, 2011 (UTC)


 * I have no problems currently. Wikia's last update seems to be having residual effects, I wouldn't be surprised if this was one of them.

new nav
Why doesn't #shareButton {display:none!important;} work? Also how could I change the on the wiki to just have add a page, wiki activity and random page and have the contribute dropdown have RC, a link to mediawiki:wikia-navigation if I'm an admin and random page? Thanks, -- Kangaroopowah  - Talk  02:14, December 3, 2011 (UTC)


 * It's a class, not an ID. Try  Rappy 05:07, December 3, 2011 (UTC)

Rappy 05:21, December 3, 2011 (UTC)


 * Thanks Rappy. -- Kangaroopowah  - Talk  01:46, December 4, 2011 (UTC)

Chat hacks
Oh ... I didn't notice this ... Here's Polish translation. I'm not sure what to several texts (I'm not sure what they do, e.g. "example", "exampleuser", "subdirs" and "uncyc"), but I think I translated correctly. Page "Nobody Cares" on Uncyclopedia corresponds to the "Nikogo to nie obchodzi" on Nonsensopedia

case 'pl': var i18n = { 'activity': 'Aktywność - $1 czat', 'afk': 'Z/W', 'away': 'Jesteś teraz oddalony.', 'back': 'Nie jesteś już oddalony.', 'clear': 'Wyczyść', 'cleared': 'Okno wiadomości zostało wyczyszczone.', 'commands': 'Komendy czatu: $1', 'coppa': '- musisz mieć przynajmniej 13 lat, by korzystać legalnie z Wikia.', 'demodded': '$1 nie jest już moderatorem czatu.', 'emote': 'Twój stan', 'erruser': 'Błąd komendy $1: Musisz podać nick użytkownika', 'errroom': 'Błąd komendy $1: Musisz podać ID pokoju czatu', 'example': 'Przykład', 'exampleuser': 'PrzykładowyUżytkownik', 'help': 'Pomoc - /$1: $2', 'help-afk': 'Zaraz wracam -> przełącza status na "Oddalony".\n$1: /afk ', 'help-me': 'Wyraź swój stan. Podobny do IRC-owego /me.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/me likes chat hacks\')">/me likes chat hacks ', 'help-nc': 'Zalinkuj artykuł <a href="http://nonsensopedia.wikia.com/wiki/Nikogo_to_nie_obchodzi">uncyclopedia:Nobody cares</a>.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/nc This is totally important\')">/nc This is totally important ', 'help-clear': 'Wyczyszcza obecne okno czatu.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/clear\')">/clear ', 'help-room': 'Napisz prywatne wiadomości.\nImiona muszą zostać oddzielone pionową kreską (|).\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/room $2\')">/room $2 ', 'help-mod': 'Czyni użytkownika moderatorem czatu.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/mod $2\')">/mod $2 ', 'help-block': 'Blokuje wysyłanie do ciebie prywatnych wiadomości przez danego użytkownika.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/block $2\')">/block $2 ', 'help-unblock': 'Odblokowuje wysyłanie do ciebie przez danego użytkownika prywatnych wiadomości.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/unblock $2\')">/unblock $2 ', 'help-kickban': 'Wyrzuć danego użytkownika z czatu.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/kickban $2\')">/kickban $2 ', 'help-join': 'Dołącz do czatu o wybranym ID.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/join 10\')">/join 10 ', 'help-part': 'Opuść obecny pokój czatu.\nAn id can also be specified for leaving a particular chat room.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/part\')">/part ', 'help-id': 'Przywraca ID pokoju, w którym jesteś.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/id\')">/id ', 'help-help': 'Wyświetla informację na temat komendy.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput.val(\'/help\')">/help ', 'id': 'ID', 'init': 'Usprawnienia czatu załadowane.\nBy zgłosić błędy, albo zaproponować tłumaczenie lub usprawnienia, napisz na <a href="http://community.wikia.com/wiki/User_talk:Monchoman45">stronie dyskusji Monchoman45</a>.', 'nobodycares': 'Nikogo to nie obchodzi', 'nohelp': 'Brak opisu pomocy dla /$1', 'notbanned': '$1 nie jest zbanowany/a.', 'notmod': '$1 nie jest moderatorem czatu.', 'pingphrases': 'Pinguj frazy', 'pingphrasestooltip': 'Gdy ktoś wpisze wybrane przez ciebie słowa (wielkość liter nie ma znaczenia), usłyszysz brzęczyk', 'subcoms': 'Podkomendy', 'subdirs': 'Podkatalogi', 'unbanned': 'Użytkownik $1 został odblokowany.', 'uncyc': 'nonsensopedia:nikogo to nie obchodzi' }

MarkosBoss (dyskusja • wkład) 14:49, December 5, 2011 (UTC)

umm
WHy is tasks gone from B3? -- Kangaroopowah  - Talk  02:06, December 7, 2011 (UTC)


 * Syntax error

Your chat bot script...
... is completely broken. Please fix it.


 * Lots of things are currently broken, chatbot is running on old code and needs a complete rewrite. What is it doing that it shouldn't be?
 * Well its kinda not really doing anything....-- Kangaroopowah  - Talk  00:35, December 11, 2011 (UTC)
 * That^. The script doesn't even load.
 * Will you be fixing it anytime soon? I kinda need it for a wiki...
 * I haven't had time to do much of anything lately - I'll see what I can do as soon as I can.
 * Ok, thanks.

Marquee
Thanks for the help with the marquee :) Gohan23

the marquee didnt work. Gohan23


 * Can you give me a link to where you tried it?
 * http://dragonball.wikia.com/wiki/User:Gohan23/marqueetest Gohan23
 * Perhaps Moncho was wrong. I did a little research and could only find info about overflow: marquee for CSS3. Try reading over this and see if this is what you're looking for. Rappy 00:50, December 11, 2011 (UTC)
 * Well, all I want to know is how to put one source mode like you can do with all the other codes. <font color=blue style=background:yellow>Gohan23
 * I haven't the faintest clue what you just said. Also, please place talk messages on the page it originated from rather than disjointing the conversation on several talk pages. (I know this started from a forum post or blog. The whole conversation should have stayed there or at least left here with a link to the original conversation so others can follow it easily. Answering your question here may actually benefit someone else, so having it all in one place is preferred.) Rappy 02:35, December 11, 2011 (UTC)
 * ok I am sorry, I didn't know things have to be so formal. And what I meant was, I want to have a Marquee Function. Gohan23
 * Ah, I confused  with  . From what I can tell after more digging, I don't think it's possible to do a marquee anymore without using an animated gif.   doesn't seem to be anywhere near standard yet. You may be out of luck.
 * oh...ok. thats alright ill figure something out, But I dont get why we can't use them. They work in HTML documents. Gohan23
 * So does, but you should never use it.

Chat Hacks
Hi. I was wondering how to use multi user private chats with your chat hacks. Thanks in advance.

EpicFork (talk) 02:50, December 17, 2011 (UTC)


 * I believe I disabled that feature because of connection issues it caused. If not, you should be able to create a multi user private chat with.


 * Yeah you disabled it. There was nothing wrong with it though except that you couldn't go back to the main chat. Perhaps a bug fix and then reinstate it? :) Thanks,-- Kangaroopowah  - Talk  04:27, December 17, 2011 (UTC)

I need help in making Templates
Hi! I need your help in making templates for the Demonata Wiki. They may be complicated, but I really don't know... Could you please tell me? Thanks alot beforehand! -Pinklilac 13:52, December 17, 2011 (UTC)


 * Sure. Can you link to the template you're trying to create?

I was wondering how to use the multi PM with the chat hacks?

Wikia index
Hi Monchoman! Some months ago, in a forum I can no longer find, you provided a method for obtaining lists of Wikia wikis sorted alphabetically, etc. (as opposed to the entertainment, gaming, and lifestyle menu options at the top of the page). Do you recall how to do that? Thanks! — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  07:44, January 10, 2012 (UTC)


 * This is the best list I know how to get. It's order by wikifactory id, which for most of us mortals is an arbitrary number.


 * Thanks Monchoman! It may not be alphabetical, BUT at least it is searchable. Thanks again! — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  22:54, January 11, 2012 (UTC)

Bot
Is it possible to have a bot get an image from a URL, check it against a certain image, and if it's different, upload it to a wiki, then change a number in the URL and repeat?


 * Not practically, no.

Popcorn ban
when will i be unbanned from chat for accidently creating random lines?Pokeswap


 * This is your third ban from chat here, and (at least) your second for spamming/flooding. It will not be a short term ban.

Fikz it
Fikz it--

hi
hi there like i told u i wuld i made an account love --&#91;&#91;Wikipedia:Pudding&#124;crapper97&#93;&#93; 04:37, January 27, 2012 (UTC)
 * sory bro --crapper97 04:38, January 27, 2012 (UTC)

Some stuff
Hi, two questions: 18:50, January 27, 2012 (UTC)
 * 1) Is it possible to use Chathacks if my primary skin is monobook?
 * 2) Should the following code work to move the toolbox in monobook under the logo? If so, why isn't it working for me (It's in my global.js)?


 * Yes, chat hacks will add ?useskin=wikia to every chat link. Per the toolbox code, you need  at the end to close the   statement.


 * Oh, I do have the ); in my global JS, but it still doesn't seem to be working... 19:02, January 27, 2012 (UTC)


 * You have the line  right under its respective import - however, there is no function AjaxRC, and that causes the script to throw an error and stop at that line. As far as I know, you should be able to just delete it and see no change in how your AjaxRC works - the script will call itself automatically, that array is only for functions that modify elements in the RC content area.


 * Many thanks, walrus. 19:10, January 27, 2012 (UTC)


 * Meh. I thought I answered this in IRC yesterday. Personally, I'd use  It's more straight-forward than the former and there is no need for a .detach this way. It's also a few less characters of code =p Rappy 21:29, January 27, 2012 (UTC)

Leopard Gecko Chat
On my wiki, the Leopard Geckos Wiki, on the chat when it says, for example: "Monchoman45 has entered the chat.", I want to change it to "Monchoman45 has entered the Lizard's Tank". and when you leave, I want to put "Monchoman45 has left the Tank." How can I do that? thanks. Star178 23:21, January 27, 2012 (UTC)


 * You can change those with MediaWiki:Chat-user-joined and MediaWiki:Chat-user-parted, respectively.

?
Hi i was banned by you for "loodind". Im sorry i didn't know flooding was ment as Spam. Besides the only reason i did it cause no one was there. Sorry i wont do it agianStevenator Sand 20:48, January 28, 2012 (UTC)


 * You were asked not to flood (ie. fill the chat window with lines containing only ".") by myself and multiple other users, and did not listen. Whether or not no one immediately responded is not relevant, you should never spam or flood. I will remove your ban one week after I gave it, which is February 4th.

Ok thanks Stevenator Sand 01:24, February 5, 2012 (UTC)

Hey its Feb 4th and im not unbanned yet...:/ Stevenator Sand 01:24, February 5, 2012 (UTC)

hai
hai monkcoman52 im a bg fant off ur wrk, chck out mine http://pastebin.com/u/EnemyPeacemaker

Shingū, Hyōgo 04:21, January 29, 2012 (UTC)

Help! Again!
Hi Monchoman, I need help. The Template:Person infobox I got from Wookipedia is on the Star wars Underworld and it is all messed up when I used it in an article: http://starwarsunderworld.wikia.com/wiki/Daniel_Logan See? Horrid.

Flood
Hey Moncho, your flooding chat really bad. Can you fix your connection please? Thanks! :) Plasma  ( Talk )  @Community Central   23:49, February 9, 2012 (UTC)

Chat hacks error
I've been having a new error recently, whenever I get pinged and a noise plays the entire browser screen will turn blue, as shown in this image. anything you can recomend to help would be very helpful. Thanks. - Crazy sam10

Chat hacks suggestion
Hey, could you add a command "/jqj " which tells the user he's joining and quitting a lot? I was thinking about something like " : Please check your connection and/or refresh your chat window, as you're repeatedly joining and quitting the channel which causes spam." but if you want to change it that's okay too. It would be useful when users are experiencing the join/quit bug without knowing it.

PS: Maybe you should add  to this page to make it possible to click to add a new section, if you want. 18:37, February 11, 2012 (UTC)


 * You can add commands to your chat hacks by adding a function to  in your global.js. Commands that take some input and change it into a different message (like  ) just have to change the text in the message box, and then return  . All command functions take two parameters, , which is the string of text after the command, and  , which is the whole string. So it would look something like this:

<pre style="margin-left:2em;"> window.commands.nameOfCommand = function(com, text) { if(com) {$('#Write [name="message"]').val('Text to send if someone specifies something after the command');} else {$('#Write [name="message"]').val('Text to send if only the command was given (for example, just /me)');} return true; }
 * In your case, what you're looking for is this:

<pre style="margin-left:2em;"> window.commands.jqj = function(com, text) { if(com) {$('#Write [name="message"]').val(com + ': Please check your connection and/or refresh your chat window, as you're repeatedly joining and quitting the channel which causes spam.');} else {$('#Write [name="message"]').val(' Please check your connection and/or refresh your chat window, as you're repeatedly joining and quitting the channel which causes spam.');} return true; }
 * Hope that helps.

Blue screen
Whenever I get pinged in the chat, using Google Chrome 17, my screen turns entirely blue:. Do you have any idea what causes that? 13:35, February 12, 2012 (UTC)


 * I am unaware of any method by which this is possible. You can try to find the line of code that causes it by breakpointing the ping code in the inspector.
 * There is no error or anything in my console, and using inspect elements still marks the elements as if they are still there. It looks like the blue thing is just over everything, but it doesn't stop you from clicking anything. I did find what the cause is: the  causes the blue thing to appear. Could you please delete the element as soon as it stopped playing (after ~515 milliseconds)  so that this bug is fixed? Or is it possible for me to put something like that in my own global.js to make that work? 16:14, February 12, 2012 (UTC)
 * Try giving the embed, and tell me if that fixes it.
 * It does fix it, but that also prevents the thing from playing. I also tried visibility:hidden; but that does still turn my screen blue. I think the only solution is either making the embed have display:none; after playing, or removing the embed after playing. 10:05, February 13, 2012 (UTC)
 * Then try . That should make it too small to notice.
 * That doesn't work either. The problem is not any CSS or so, the problem is that there is a bug in Chrome itself. Now I suggested doing display:none after it stopped playing, or removing it after it stopped playing, but I thought of another method that won't affect anyone that doesn't want to, but could you add onload="beepFunction" or something with that function doing nothing by default, but so atleast it is possible to let me add code whenever the beep loads. I can tell you for sure there is no possible CSS solution to prevent it from turning my screen blue while still playing. 20:58, February 15, 2012 (UTC)
 * Could you please fix this? 14:02, February 18, 2012 (UTC)
 * Another user reported this problem yesterday, and I added a  which he said fixed it, albeit with the side effect of the page background turning blue. If you clear your cache, it should work for you too.

Signature code
Hi Monchoman45. I'm Starfleet Academy and I was told in a convo that you have a code that enables/enabled you to leave a signature on any wiki without having to make signture sub-pages. Is this true/does it still work? (Wikia's been messing with the pereferences page lately that's all) :)


 * Read this page for how this works --  Random Time  10:39, February 14, 2012 (UTC)


 * Thanks RT, I've got mine working off just a subpage though. (This is to save myself from having to rebuild my signature system.) :)


 * Then replace ~.js with your subpage and follow the rest of the directions. Rappy 05:54, February 15, 2012 (UTC)


 * Oh sorry this is a perfect example of miscommunication. I meant that I did what RT linked to, but without putting it in a .js file because I didn't want to have to go through and change what I'd already done on a number of wikis. Trivia in other words. :)

Minimalist chathacks
I was thinking of making a bot that could do certain tasks such as react to commands (like an IRC bot) or unban users after a certain amount of time (set by chatmods), but for that I need to be able to do something like you do in your chat script, that I can scan through a message every time it gets sent and then check if it is a command or not. Could you please give me the code for a minimalist chathacks so that I can add the features of the bot myself? Thanks, 20:42, February 20, 2012 (UTC)

Hiding comments on RC
Hey sexy. Is there any way to add an option next to "Hide my edits" and "Hide logs" for "Hide talk edits"? Not user talk, but comments/page talk. 13:19, February 22, 2012 (UTC)


 * You can disable individual namespaces using the namespace dropdown, and checking "exclude". Article talk pages and blog comments are both options, I don't think article comments are, but since those are all talk subpages, excluding article talk should also exclude article comments.

B3 Translation
Hi!

I am writing to you because I would like to translate B3 (Browser-Based-Bot) into Polish. Can I do this? And in what way?

MarkosBoss (dyskusja • wkład) 19:58, February 22, 2012 (UTC)


 * B3 doesn't currently have a translation API like chat hacks did. It may be possible to implement one, however, but I'd have to know what sorts of things you'd like to see translated.


 * I would like to translate all the texts that are visible in the B3 (mainly in the Tasks module and the chatbot) - if that is possible.
 * MarkosBoss (dyskusja • wkład) 16:54, February 24, 2012 (UTC)

AFK Button
For some reason, I can't get it to work. Can you check my global.js and tell me if there is anything wrong with it? Thanks!

Ok it seems to work now. If you can, could you make me a custom chat hacks code? I don't wan't the clear button and I don't want it to open up a whole normal sized tab/window. I want it to be a small new window, if you know what I mean. But everything else is fine. Could you do this for me?


 * If you aren't connected to chat, it won't send you away. Sometimes it'll disconnect you without creating any notice, so the afk button is a great way to test your connection. Per the afk and clear buttons, you can hide those with CSS, however it's not so easy to make it pop up in a small window instead of a tab. You should be able to take the tab and move it to a new window, however, and use that.


 * Ok. And how can I hide the clear button? I'm not the best with coding :S Also, I'm not too familiar with the new commands such as /nc, /devoice, /coppa, /unban, /demod, /id, and /self. I want to know how to use those and I want to know how to create a private chat with multiple users.


 * Also, I was letting my bot sit in chat and when I returned, it gave me the option to "kill the page" or "wait" because chat was unresponsive. Any ideas how to avoid this for future purposes?


 * You can get a list of commands and access information about them with . You should be able to hide the afk and clear buttons with  . Per the bot becoming unresponsive, this is probably due to a scripting error somewhere in the code. I'm currently working on a complete rewrite of the script, so hopefully that problem will disappear soon.


 * Do you know when you will have it done? Because it keeps ruining my chat logger bot. :S


 * Soon. Most of the architecture is already in place, and the socket was just updated to be more efficient.


 * Can you leave me a message or something so I know when it's ready please? Thanks.

Initializing Chathacks
Hi Monchoman! Chathacks don't seem to start if I don't click on the "start chat" button on the rail. Is this intentional? Rbleh4 16:02, February 26, 2012 (UTC)


 * This is a technical limitation on the hacks. If you were to just type http://community.wikia.com/wiki/Special:Chat into your url bar, chat would not load any of your code files (global.js, wikia.js, etc). Because of that, there's no (practical) way to get the code for the hacks into chat - so they don't load. However, when you click that button in the rail, the window is opened via a script that keeps a reference to that window. That script can use that reference to then add your code files to chat itself, thus allowing the hacks to load.


 * Is there not a way to activate on the URL too? Your script should be able to detect the normal link and direct/redirect it to your custom link. If that's the case, any link to Special:Chat would theoretically work. Rappy 23:41, February 26, 2012 (UTC)


 * Any link to chat that you click is valid and will open the hacks. Unless I only implemented that in monobook for some reason.

Hello
A few days ago, probably over a week ago, I was kickbanned for joking around and saying I'm the son of the owner of wiki.... anyway, I was wondering if you could unkickban me because there's an urgent matter I need to discuss in the chat. Please and thank you! -- Julietfan2626


 * You were kickbanned by Jazzi. Please contact her about this, as I am not aware of the situation.

Chat saving
Hi. I have question. How save conversation from chat (example)? 18:41, February 27, 2012 (UTC)


 * That was done using a bot script I wrote. I'm currently in the process of rewriting it, as it has become outdated. If you'd like, I'd be happy to contact you when I'm finished with an up to date version.


 * OK. I'm interested. 21:03, February 27, 2012 (UTC)
 * Me too. Please notify at my talks page once you make the bot script available. 05:12, March 2, 2012 (UTC)

Omit avatars in Chat
Hi, thank you for your wonderful chat hacks. But, I have some helps, wonder if you can help me. I'm a netbook user, and the avatars quite taking too much space in my screen. So do you have anyway to remove it and still use the hacks commands ok? Thanks for reading 04:16, March 4, 2012 (UTC)
 * You can do so with a little css, place  in your global css file.--
 * I done it. But it still leaving useless spaces in chat, as annoying as not avatars. 08:59, March 7, 2012 (UTC)


 * You need to remove the message padding as well.  will fix that.

BlogReplySpeedyDeleteButtons
Hi. Is any chance to apply this code: function BlogCommentSpeedyDeleteButtons { var deleteOptions = { 'None': '---', 'Spam/Nonsense': 'Spam', 'Flaming': 'Flejm', 'Off-topic': 'Off-topic', 'Vulgarism': 'Bluzgi', 'Out-dated': 'Nieaktualny' };           var deleteoptstr = ''; for(var i in deleteOptions) {deleteoptstr += '<option value="' + i + '" style="text-align:center;">' + deleteOptions[i] + ' ';} var html = '<select class="blog-comment-speedy" style="font-size:10px; width: auto;">' + deleteoptstr + ' <a class="blog-comment-button" style="cursor: pointer; margin-left:4px;">Usuń komentarz</a>'; var commentArray = $('#article-comments-ul li .tools'); for(var i = 0; i < commentArray.length; i++) { $(commentArray[i]).append(html); $(commentArray[i]).children('.blog-speedy-button')[0].onclick = function(event) { var select = this.previousSibling; if(select.options[select.selectedIndex].innerHTML != "None") { api.send(new api.Query(api, 'POST', {'action': 'delete', 'title': wgPageName, 'reason': select.options[select.selectedIndex].value}, function(result) { window.location = wgServer + '/index.php?title=' + wgPageName + '&action=purge'; }));                           }                            else{alert('Wybierz powód usunięcia z listy.');} }           }    }    addOnloadHook(BlogCommentSpeedyDeleteButtons); to replies to comments, not just for comments?

MarkosBoss (dyskusja • wkład) 10:23, March 4, 2012 (UTC)


 * Find, and remove  . It should then loop through every comment, both parent and reply.

How do you get user avatar with JS if not in Oasis?
Hiya Moncho! So I've been working on a little chunk of JS here (which you can see live on my wiki's RC) which essentially adds a login menu to WikiaMobile so you can tell whether or not you're logged in on your phone (since, at least on mine, cookies can get messy). I figured, while I'm at it, why not add your avatar to the left of the button? So, I'm trying to figure out how to get one's avatar url with JS. Do you have any idea? Thanks in advance! 06:06, March 5, 2012 (UTC)


 * I believe the only way to do that is with ajax, which isn't very efficient if you're using a phone, since it'll eat up all the data in your plan.


 * Humpf, too bad. Well, thanks for responding. 19:54, March 11, 2012 (UTC)

Chat Hacks
For some reason I cannot get my chat hacks to work. I was referred to you for help.

I have added the code to User:Jack Pistol/global.js, purged my cache ( several times ) and entered chat from the sidebar. I then tried closing my browser and trying again, but it did not work. Can you help me please?


 * Try removing the multiple PMs section - the hacks have a function for opening multiuser PMs, so you don't need it, and it may be causing an error that prevents the hacks from importing.

Sending messages
Hey I was planning to make a script that would make it easier to send certain messages in the chat, like your chathacks (using aliases) but I don't know how I can send a message without needing to let the user press enter. I've tested a couple of things, but nothing I tried worked. Could you please write a short script that would make it possible to do something like ? It would be great if you could do that. Thanks in advance, 15:04, March 11, 2012 (UTC)


 * A function for this already exists in Wikia's code.
 * I've searched for how to do that, but I couldn't find a way to use it. Could you give me the code for sending a message "foo" to the chat please? 19:19, March 13, 2012 (UTC)
 * In case anyone else wants to know this too, I've asked Monchoman on IRC and he gave me the code  to send the contents of the messagebox contents. Thanks again. 21:49, March 15, 2012 (UTC)

Bots and Message Walls
Another user mentioned you were working on bot software that can post article comments. Those are organized a little bit like the new Message Wall structure. Have you tried this bot on a Message Wall? I'm curious because once the Message Wall goes live everywhere, our current way of delivering a newsletter won't work any more, which is to have a bot append a new section to the user's talk page with the link to the new issue. —RRabbit42 ( leave a message ) 07:00, March 12, 2012 (UTC)


 * As it is now Message Wall will not be released globally. This may change, but Wikia has stated it is not their intention to make it mandatory. Rappy 08:03, March 12, 2012 (UTC)

Javascript help
Rappy told me that you are a master of javascript, so can you help me with Forum:I need some javascript/css help! or Forum:Some MediaWiki help please? &mdash; [/wiki/User:Sam_Wang <font color=#bdbdbd>S <font color=#bfbfbf>a <font color=#bibibi>m ] [/wiki/User_talk:Sam_Wang <font color=#bkbkbk>W <font color=#bmbmbm>a <font color=#bobobo>n <font color=#bqbqbq>g ] 04:49, March 15, 2012 (UTC)
 * I've replied to this already, so you don't have to do that anymore. 21:21, March 15, 2012 (UTC)
 * Can you check out Thread:365240 please? &mdash; [/wiki/User:Sam_Wang <font color=#bdbdbd>S <font color=#bfbfbf>a <font color=#bibibi>m ] [/wiki/User_talk:Sam_Wang <font color=#bkbkbk>W <font color=#bmbmbm>a <font color=#bobobo>n <font color=#bqbqbq>g ] 09:21, March 17, 2012 (UTC)

Chat Topic
Fikz it.--

Chat hacks stopped working
Ello, my chat hacks have suddenly stopped working, and I can't seem to find out why. I even tried getting the hacks again the same way I did before, but it isn't working. Help, please? <font face="Rage Italic"><font color=#000000>RubyRose17| <font color=#262626>Like, if Picasso made a person, You'd be his masterpiece.   00:08, March 19, 2012 (UTC)
 * Looks like something what Monch (or Wikia) has done is now preventing hacks being loaded properly (: – <span style="font-family:DejaVu Sans Mono,monospace;font-weight:bold">Tm_T@Community Central:&#126;$ 09:38, March 19, 2012 (UTC)
 * They're still working for me, barring some odd socket error. Although, now that I think about it, those could be related.


 * I've had like 10 users at least since last night ask me why the chat hacks aren't working, but mine never stopped working for me or my bot I have running in chat.User:BachLynn2315:25, March 19, 2012 (UTC)User:BachLynn23
 * I'll check through SVN too, in case an update was pushed that hasn't made it to some people for whatever reason. Other than that, for people that are having trouble, it would be helpful to know what browser they're using.


 * I've asked around, and most use Chrome, but a few of them tried to see if they'd work on Firefox or IE and they didn't work for them there either. Again, mine still work fine, but there's at least 10 users if not more, on one of my wiki's whose aren't working. One user said they haven't worked for him for 3 days.User:BachLynn2319:36, March 19, 2012 (UTC)


 * Actually I take that back, since I rebooted my computer an hour ago, my chat hacks no longer work either, in any browser. And all of a sudden when I hit the enter chat button, instead of opening in a new tab, it opens in a pop up.User:BachLynn23 19:59, March 19, 2012 (UTC)


 * Yeah, same with me, and I use Chrome as well. <font face="Rage Italic"><font color=#000000>RubyRose17| <font color=#262626>Like, if Picasso made a person, You'd be his masterpiece.   22:12, March 19, 2012 (UTC)


 * Monchoman45: I tested with current Firefox stable (and beta track too I think) and current Chromium, neither of them worked. Now since your last change to chathacks.js it works again. (: – <span style="font-family:DejaVu Sans Mono,monospace;font-weight:bold">Tm_T@Community Central:&#126;$ 06:28, March 20, 2012 (UTC)


 * Just another Chrome user here letting you know that chat hacks are working again with your latest change. Thanks! — Mathmagician 07:00, March 20, 2012 (UTC)


 * Godisme will be thoroughly unhappy to find out that the original point of that change was his idea.
 * Actually mine still won't work, the chat is no longer poppng up anymore, but the afk button and ping phrases aren't there either. <font face="Rage Italic"><font color=#000000>RubyRose17| <font color=#262626>Like, if Picasso made a person, You'd be his masterpiece.   12:23, March 20, 2012 (UTC)


 * You'll have to clear your cache to see the change. You can do that by following the instructions at the top of MediaWiki:Wikia.css.


 * Thanks! :) <font face="Rage Italic"><font color=#000000>RubyRose17| <font color=#262626>Like, if Picasso made a person, You'd be his masterpiece.   22:15, March 20, 2012 (UTC)

Signature problems
Hi Monchoman! I based my signature on yours, so I hope you don't mind giving me some advice on how to fix it. It just doesn't work. Or rather: I can't find a way to make it work here at Community Central and at other wikis. It seems to be the one or the other...

This is what I got in Special:Preferences:

This is what I got in User:Pecoes/sig2:

This is User:Pecoes/sig:

And this is the result here at CC:

But this is the result at other wikis:

Apparently "User:Pecoes/sig" cannot be resolved. Now I tried to prefix the templates: "w:User:Pecoes/sig" and "w:User:Pecoes/sig2" but that causes the timestamp to disappear. Apparently it is possible to use templates from CC on other wikis, but not possible to pass them parameters...

What should I do?
 * Hey Pecoes, we've been asked by staff not to transclude signatures interwiki, as it creates too much strain on the server - you'll need to create the template page on each wiki. In addition, interwiki templates don't support any arguments, so - as you've noticed, the timestamps won't work --  Random Time  11:10, March 19, 2012 (UTC)


 * I had a feeling there's a reason why this seems impossible :) Very well, if it's too resource intensive, I won't do it. But then I need a fallback option, don't I? Just so that the signature won't break if I reply on a wiki where it isn't "registered". Would this be okay?


 * Yeah, the #ifexist solution works well, I did the same thing when I had a template sig --  Random Time  11:42, March 19, 2012 (UTC)


 * Alright then. I was a little worried that #ifexist might be a resource hog as well... Thank you! :)
 * It is slightly expensive, you should subst: it so that it doesn't need to be called more than the first time the page is cached --  Random Time  11:57, March 19, 2012 (UTC)

Alright. So this is my signature then:

My "main" signature is still templated, though - I'm just mentioning that in case you were trying to talk me out of it :P


 * I believe signatures are transcluded as output only, not as direct wikitext - I have an  in my sig that isn't  ed, and it appears as output.

JS Error
Hey, I'm getting the error "community.wikia.com/index.php?title=User:Monchoman45/ChatHacks.js&action=raw&ctype=text/javascript:647 Uncaught TypeError: Cannot read property 'chatwindow' of null" in my Chrome console. Could you please fix it? (line 647 is the line with, the part where you make the import functions. I only seem to get this error when I open the link with my scrollwheel by the way. 13:55, March 24, 2012 (UTC)
 * Nevermind, I found out what broke it and fixed it. 14:34, March 24, 2012 (UTC)

i'm in a rush right now but i have time to talk
I only have time is say this You baned me for a wrong reson I was just announing a contest. you mean
 * I banned you because your connection was bad, and was causing you to join and leave the chat rapidly. It isn't your fault, and you have already been unbanned.
 * http://mlp.wikia.com/wiki/User_blog:Invader_Pucca/Cartoon_i_pad_Fighters_Voice_this_Character_Contest if you want to read it . Invader Pucca

JS Help
I'm having a wierd issue with that JS I needed help with earlier. With the help of a vebatim, I can get this page of code to load on the mobile skin. However, the if function only seems to work if I put it through the console. By putting it on the code page, the rest of the js doesn't work. Any ideas?


 * The only thing I can think of is that the MIME type of your script tag is  - it should be , but I'm not sure if that's actually critically important or not. Try changing it and see if that fixes it.

Did you check the error console? I'm asking because I just had a problem with JavaScript code in a MediaWiki file as well.

This caused the error message "$ is not defined...":

But this worked well:


 * I switched it to application on the advice of another user, but it doesn't work with text either.
 * I was getting a 'unexpected token ;' error, but could find anything wrong. I'll try that delay thing later, as it was something I suspected may have been happening. I don't even know what does/doesn't load in the mobile skin.


 * Another little thing: This if-construct doesn't work as intended:


 * wgRestrictionMove is an Array. There's no way searching for an Array in a String could possibly return anything other than -1.


 * This isn't the most clever solution, but it should work:


 * Try running  in your console. Despite it being an array, it works fine. I think it may have something to do with wgRestrictionMove only ever being one of three values - nothing, 'autoconfirmed' or 'sysop'. However, I will try your code just in case.


 * Now you got me thinking... This looks like a logical error. Only bureaucrats and admins should be able to protect pages, right? wgRestrictionMove is irrelevant. The test should be something like:


 * Shouldn't it? O_o
 * As I stated in chat, the Wikiamobile skin does not import the jQuery library, therefore a manual import is needed with  from https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js. to get the jQuery parts to work. Also,   is the preferred JS MIME type as per IETF. 11:12, April 1, 2012 (UTC)

Will try the jQuery stuff. I remember you saying that, but you left before I could run it past you. Pecoes, seems I meant that code for rename, not protect. Oops! Thanks for the code.
 * Sorry, didn't know you had left. 12:44, April 1, 2012 (UTC)


 * appears to be very similar, if not exactly the same, as . What makes it better?
 * As I remember, IETF changed their recommendations and  is now obsolete. 15:31, April 1, 2012 (UTC)
 * Well,  is undefined. Now what should I do?
 * Then just add  to the verbatim page. 15:49, April 1, 2012 (UTC)


 * There seems to be exactly one line in the the entire script that requires jQuery. Are you sure loading jQuery is justified? --


 * Uncaught TypeError: Object function (a,b){return new e.fn.init(a,b,h)} has no method 'getUrlVar'


 * The actual js of the mobile skin has crashed.


 * Sorry, but that's not a jQuery method. That's one of Wikia's jQuery extensions. It's defined in oasis_shared_js --


 * Or in this case, wikiamobile_js_body. Which line of my code needs jQuery and can it be rewritten? I have changed a lot of code since this conversation started.

As far as I can tell only line 5: and line 42:

Here's how I would insert HTML without jQuery. --

(Damn! Sine always fails me on this page. This is not a real talkpage, is it?)


 * Okay, after learning how to use DOM and rewriting most of my code (rather long-winded mind), I still can;t get the code to work on load. I can get it to work still on console, but something just doesn't want to run properly. No console errors I can see... Help?


 * Whoa. That is a lot messier than I imagined. Two lines of code indeed :(


 * My guess would be that you have to delay that code until the DOM has loaded. Here's a nice example. (Ignore what it says about DOMContentLoaded and onreadystatechange. That stuff is overkill for your purposes.) --

Your Signature Colour Change
I feel silly posting this here when I can see everyone else seems to come to you with very detailed and extensive knowledge of JS and the like. Basically I loved your signature and noticed that you happily letting people use it, even giving instructions on how. What I did want to ask is how would I go about changing all the yellow to a different colour in my own version? I've found certain places in the code which translate to the colour of the border etc but no matter what I change them to they either just disapear or don't change at all. If it's no trouble maybe you could point out the specific places in the code that translate to the border and user name colour? Assuming it's all possible of course. I have a very basic understanding of JS and tend to trial and error my way through things, randomly changing parts of code until I find the right part. It's not very practical or usefull, but it works sometimes lol. Thanks in advance, for you possible help and allowing the use of your signature. Also I'm guessing from reading above that creating a signature like yours in the way you outline will no longer work across all Wikis unless you create those pages on those wikis. Well I've got your signature working perfectly here but on my own wiki the date and time appear messed up. Inside the date and time box this appears instead any suggestions on fixing it? -- <font color="royalblue" size="2">Lyco499 (<font color="Blue" size="1">talk ) 04:22, April 1, 2012 (UTC)


 * "Inside the date and time box this appears instead any suggestions on fixing it?"
 * I asked a similar question a few posts above. Take a look at RandomTime's reply, please! --


 * is the hex color code for the yellow part of my signature. If you replace that with your own color (which can be as simple as the word ), you'll change the border and username color.


 * Thanks both, sorry for not paying enough attention and noticing that half my question had already been answered! -- <font color="royalblue" size="2">Lyco499 (<font color="Blue" size="1">talk ) 05:25, April 1, 2012 (UTC)

Ping phrases
Okay so I am using Safari Version 5.1 and the ping phrases won't open up when I hover over it. My talk

Chat hacks addition
Hey, do you think you could add the / command, /sc or /contact, to your chat hacks? It could be for Special:Contact, like /sc, and it would display, "Please go to Special:Contact". Phillycj asked me for you to also add a / command for MediaWiki:Emoticons. -- Plasma  ( Talk ) 18:32, April 11, 2012 (UTC)


 * See.

API Script
Hey Monch, not sure how to use API Query. I have imported the AJAX and WHAM scripts, and I'm not sure if I have to directly import the APIQuery script. And if I do, how do I access the token things? Thanks! Head of Ravenclaw (Talk | Contribs) 22:17, April 12, 2012 (UTC)


 * APIQuery as a library is imported automatically by the things I've written that use it. You don't need to worry about tokens with it - they're all fetched automatically.

Hacks
hacks never work for me i use chrome all that happendsis it opens in a side windo with out it it popens in a new window

my global.js
User:A.r.s.h./global.js

Hack Request
Hey Moncho,

We've had some general user experience complaints about the ChatHacks.js file you've been maintaining, specifically about the "Away status functions". I'm not sure if you recently added them or something changed in code, but they are behaving - forgive me for using this strong of a term - obnoxiously the last few days. The basic gist: "The user spams their status into the chat room, causing the window to flash"

Chat disruption is especially important to avoid here at Community Central, but I really don't want to ban people based on ChatHacks. At the same time, I certainly don't want to impede your development for tools that may be perfectly okay on more unique wikis. All that said, is there something you'd be willing to tweak on ChatHacks to compromise between those who want a nifty little away hack and the users who are in Chat? Something we can help you with? --daNASCAT 00:37, May 9, 2012 (UTC)


 * I've unfortunately been unable to recreate this bug myself, however I have noticed that a few pieces of chat hacks are not loading altogether (seems to be jQuery's fault). Normally, when your status changes, an inline alert is created (client side) that tells you what it changed to. This is the only modification to the away function, so any spam should be limited to the view of that one person - no one else will see it, no bans necessary. It is possible that this is caused by a conflict with a new function, in which case the script just needs an update.

A problem
your chat hacks are really awesome!!!

But Theres a problem in my hacking. Whenever I restart my web browser or laptop, the hacks are removed, I ve to again delete the Cache. PLS help do we need to make this page(global.js) on any other wikia also? 12:43, May 14, 2012 (UTC)


 * Your global.js file on central applies to every wiki, if you create one anywhere else it won't do anything. If you refresh chat, the hacks go away - chat isn't supposed to have any JS files on it, so they have to be applied directly. When you click the "join chat" button, the script will automatically apply everything to the new chat window. So every time you restart your browser or laptop, you have to click the button again.

Pings and links
Hi, I'm a big lover of your chathacks, but I was wondering if it was possible to alter the ping function slightly.

If someone pings you with a link, it kills the link. With extranal links it's not such an issue and I have other methods of searching internal links without posting them in chat, but it's still an annoyance for me let alone others who have no real experience with Special:Chat customisation.

Also, is it possible to force and ping phrase to be an exact match? For instance if I set "Cam" to be a ping phrase, it also activates under "scam", "camera", "camelot", etc. Essentially anything with that phrase within it.

Are either of these issues fixable? 23:44, May 14, 2012 (UTC)


 * These can be fixed, but will take more time than I have available right now. I've been planning to rewrite the entire script from the ground up for a while, so hopefully I can kill a bunch of birds with one stone soon.

Phone Chat
hey Monchoman, I was just wondering if you can join chat using your phone? ILoveGreen 16:09, May 17, 2012 (UTC)


 * I remember hearing something about Wikia working on chat for phones, but I don't remember if they finished or not. You might be able to just go to Special:Chat on your phone, but I've never tried it.

Tutorial
Heey, do you think you could write a short blog or just a message about how to use B3, specially the chat bot system. I have it all installed but I cant figure out what the Tasks or anything else does.

Thanks, MSgt R. Huntley <sup style="font-family:AR Julian;color:red">S&amp;W M&amp;P 05:16, May 18, 2012 (UTC)


 * Most of that is due for an update soon. Chatbot is one of the things I've been working on recently, and I hope to have something useful for the community available in the next month or so.

Script
Hi Monch. Can you write me a script, based on the background change script that we spoke about in chat, that allows users to change from monobook and oasis on every page? Thanks. -- Plasma  ( Talk ) 14:45, May 24, 2012 (UTC)


 * This is closer to that, however Brickipedia's switchtabs were only designed for Oasis. There's no room for them in Monobook - so you'll have to think of somewhere to put a button for changing from monobook to Oasis.


 * I decided to do something else, thanks! :) -- Plasma  ( Talk ) 19:26, May 24, 2012 (UTC)


 * You always do that! Get someone working on something and then change your mind. Anyway, here is a script whose tabs fit in both Oasis and Monobook:"w:c:admintools:User:SpikeToronto/common.js/skinSwitch.js"I stole it. The attribution at the top of the file may not even be correct. Heck, it might’ve even been written by Monch! :p Have fun with it PT! :) — Spike  Toronto  02:45, May 27, 2012 (UTC)

Kick chat mods
Hi, is there a way in chathacks to kick other chat mods? I've seen it done before, do you know how they do it?

-- CzechMate

Wrong
I've added this code to MediaWiki:Chat.css on my wiki to change the star of a MOD /* New chatmod star (also make chatmod stars actually work) */ .User.chat-mod .username:after { content: url("http://images3.wikia.nocookie.net/gratheaut/images/6/64/Gun.gif"); } .User.chat-mod .username:after { background-image:none; } but the star is same, even I've bypass my browser's cache

can you help me?

08:37, May 29, 2012 (UTC)


 * You need the full URL. Thes required. Sometimes, even when clearing browser's cache, you will have to wait for Wikia to cache the changes. This can, at times, take up to 24 hours. Rappy 09:51, May 29, 2012 (UTC)
 * oh!! i see. But  is already there
 * here, i forgot to add <span style="border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; background-color:RED; background-image: -moz-linear-gradient(top, #FC0217 35%, #006cb0 65%); background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #2094dd), color-stop(65%, #006cb0)); border:1px solid #006cb0; color:white; display:inline-block; font-family:Helvetica, Arial, sans-serif; font-size:12px;height:19px; line-height:20px; padding:0 7px;">Honey singh <span style="border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; background-color:RED; background-image: -moz-linear-gradient(top, #006cb0 35%, #FC0217 65%); background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #2094dd), color-stop(65%, #006cb0)); border:1px solid #006cb0; color:white; display:inline-block; font-family:Helvetica, Arial, sans-serif; font-size:12px;height:19px; line-height:20px; padding:0 7px;">Talk  11:17, May 29, 2012 (UTC)