Monchoman45/Talk
Talk0this wiki
< Monchoman45 | Redirected from User talk:Monchoman45
Ping phrases within chat hacks
Edit
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? Monchoman45 Talk Contribs Skystone 14:04,11/25/2011
- 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? Monchoman45 Talk Contribs Skystone 22:07,11/25/2011
- 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. Monchoman45 Talk Contribs Skystone 01:22,11/26/2011
- 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)
- 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)
- It may be because XP is outdated. You should try installing 7 on your desktop and see if that helps. Monchoman45 Talk Contribs Skystone 01:22,11/26/2011
- The laptop uses 7 and the desktop uses XP. Shotrocket6 00:49, November 26, 2011 (UTC)
- What OSes do they use? Monchoman45 Talk Contribs Skystone 22:07,11/25/2011
- Chrome. For some reason, I'm not having this problem on my laptop, but only my desktop. Shotrocket6 21:44, November 25, 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. infiniteMaxxisTalk?!? 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)
- 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.
- 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. infiniteMaxxisTalk?!? 01:07, February 12, 2012 (UTC)
Image filenames in categories
Edit
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
Edit
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,
- 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
if() {}from around theaddOnloadHookfor either of them to work. Monchoman45 Talk Contribs Skystone 16:49,12/2/2011
Not Allowed to Chat
Edit
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? Monchoman45 Talk Contribs Skystone 00:59,12/3/2011
- 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. Monchoman45 Talk Contribs Skystone 17:42,12/4/2011
Edit
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
.share-button { display: none; }Rappy 05:07, December 3, 2011 (UTC)
$(function () { $('.WikiHeaderRestyle .subnav-2:first').html('<li><a class="createpage" data-id="createpage" href="/wiki/Special:CreatePage">Add a Page</a></li><li><a data-canonical="wikiactivity" href="/wiki/Special:WikiActivity" class="subnav-2a">Wiki Activity</a></li><li><a data-canonical="random" href="/wiki/Special:Random" class="subnav-2a">Random page</a></li>'); $('.contribute ul').html('<li><a data-id="wikiactivity" accesskey="g" href="/wiki/Special:RecentChanges" title="Recent Changes">Recent Changes</a></li><li><a data-canonical="random" href="/wiki/Special:Random">Random page</a></li>'); });
- Thanks Rappy. --Kangaroopowah- Talk 01:46, December 4, 2011 (UTC)
Chat hacks
Edit
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: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/afk\')">/afk</span>',
'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</span>',
'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</span>',
'help-clear': 'Wyczyszcza obecne okno czatu.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/clear\')">/clear</span>',
'help-room': 'Napisz prywatne wiadomości.\nImiona muszą zostać oddzielone pionową kreską (|).\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/room $2\')">/room $2</span>',
'help-mod': 'Czyni użytkownika moderatorem czatu.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/mod $2\')">/mod $2</span>',
'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</span>',
'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</span>',
'help-kickban': 'Wyrzuć danego użytkownika z czatu.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/kickban $2\')">/kickban $2</span>',
'help-join': 'Dołącz do czatu o wybranym ID.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/join 10\')">/join 10</span>',
'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</span>',
'help-id': 'Przywraca ID pokoju, w którym jesteś.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/id\')">/id</span>',
'help-help': 'Wyświetla informację na temat komendy.\n$1: <span onclick="mainRoom.viewDiscussion.getTextInput().val(\'/help\')">/help</span>',
'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
Edit
WHy is tasks gone from B3? --Kangaroopowah- Talk 02:06, December 7, 2011 (UTC)
- Syntax error Monchoman45 Talk Contribs Skystone 02:22,12/7/2011
Your chat bot script...
Edit
... is completely broken. Please fix it. Ariistuujj »Talk Page« 14:44, 12/10/2011
- 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? Monchoman45 Talk Contribs Skystone 23:19,12/10/2011
- Well its kinda not really doing anything....--Kangaroopowah- Talk 00:35, December 11, 2011 (UTC)
- That^. The script doesn't even load. Ariistuujj »Talk Page« 08:17, 12/11/2011
- Will you be fixing it anytime soon? I kinda need it for a wiki... Ariistuujj »Talk Page« 08:26, 12/19/2011
- I haven't had time to do much of anything lately - I'll see what I can do as soon as I can. Monchoman45 Talk Contribs Skystone 20:13,12/19/2011
- Ok, thanks. Ariistuujj »Talk Page« 08:34, 12/20/2011
- Will you be fixing it anytime soon? I kinda need it for a wiki... Ariistuujj »Talk Page« 08:26, 12/19/2011
- That^. The script doesn't even load. Ariistuujj »Talk Page« 08:17, 12/11/2011
- Well its kinda not really doing anything....--Kangaroopowah- Talk 00:35, December 11, 2011 (UTC)
Marquee
Edit
Thanks for the help with the marquee :) Gohan23
the marquee didnt work. Gohan23
- Can you give me a link to where you tried it? Monchoman45 Talk Contribs Skystone 23:19,12/10/2011
- 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. 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
text-decoration:blink;withtext-decoration:marquee;. 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.overflow:marquee;doesn't seem to be anywhere near standard yet. You may be out of luck. Monchoman45 Talk Contribs Skystone 16:40,12/11/2011- 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
<font>, but you should never use it. Monchoman45 Talk Contribs Skystone 17:57,12/11/2011
- So does
- oh...ok. thats alright ill figure something out, But I dont get why we can't use them. They work in HTML documents. Gohan23
- Ah, I confused
- 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
- 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)
- Well, all I want to know is how to put one source mode like you can do with all the other codes. 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)
Chat Hacks
Edit
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
/room Name of a user | Name of another user | Name of a third user | etc. Monchoman45 Talk Contribs Skystone 03:48,12/17/2011
- 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
Edit
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? Monchoman45 Talk Contribs Skystone 14:48,12/17/2011
I was wondering how to use the multi PM with the chat hacks?
Wikia index
Edit
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!
— SpikeToronto 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. Monchoman45 Talk Contribs Skystone 21:49,1/11/2012
Bot
Edit
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? Ariistuujj »Talk Page« 02:28, 1/13/2012
- Not practically, no. Monchoman45 Talk Contribs Skystone 17:11,1/14/2012
Popcorn ban
Edit
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. Monchoman45 Talk Contribs Skystone 01:06,1/22/2012
Fikz it
Edit
Fikz it--GodPray 04:33,1/27/2012
hi
Edit
hi there like i told u i wuld i made an account love --[[Wikipedia:Pudding|crapper97]] 04:37, January 27, 2012 (UTC)
- sory bro --crapper97 04:38, January 27, 2012 (UTC)
Some stuff
Edit
Hi, two questions:
- Is it possible to use Chathacks if my primary skin is monobook?
- 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)?
$(function () { $("#p-logo").after($("#p-tb").detach()); }
- Yes, chat hacks will add ?useskin=wikia to every chat link. Per the toolbox code, you need
);at the end to close the$(statement. Monchoman45 Talk Contribs Skystone 18:59,1/27/2012
- You have the line
ajaxCallAgain = [AjaxRC];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. Monchoman45 Talk Contribs Skystone 19:08,1/27/2012
- You have the line
- 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)
$('#p-tb').insertAfter('#p-logo');
- Meh. I thought I answered this in IRC yesterday. Personally, I'd use
Leopard Gecko Chat
Edit
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. Monchoman45 Talk Contribs Skystone 23:30,1/27/2012
?
Edit
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. Monchoman45 Talk Contribs Skystone 21:56,1/28/2012
Ok thanks
01:24, February 5, 2012 (UTC)
Hey its Feb 4th and im not unbanned yet...:/
01:24, February 5, 2012 (UTC)
hai
Edit
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!
Edit
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. --EvanfTalk • Contribs
Flood
Edit
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
Edit
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
Edit
Hey, could you add a command "/jqj <user>" which tells the user he's joining and quitting a lot? I was thinking about something like "<user>: 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 __NEWSECTIONLINK__ to this page to make it possible to click to add a new section, if you want. Joeytje50talk 18:37, February 11, 2012 (UTC)
- You can add commands to your chat hacks by adding a function to
window.commandsin your global.js. Commands that take some input and change it into a different message (like/me) just have to change the text in the message box, and then returntrue. All command functions take two parameters,com, which is the string of text after the command, andtext, which is the whole string. So it would look something like this:
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:
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. Monchoman45 Talk Contribs Skystone 19:14,2/11/2012
Blue screen
Edit
Whenever I get pinged in the chat, using Google Chrome 17, my screen turns entirely blue: [1]. Do you have any idea what causes that? Joeytje50talk 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. Monchoman45 Talk Contribs Skystone 15:04,2/12/2012
- 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
<span id="sound"><embed src="http://images.wikia.com/monchbox/images/0/01/Beep-sound.ogg" hidden="true" autostart="true" loop="false"></span>causes the blue thing to appear. Could you please delete the element as soon as it stopped playing (after ~515 milliseconds) (setTimeout("$('#sound').html('')",515)) 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? Joeytje50talk 16:14, February 12, 2012 (UTC)- Try giving the embed
style="display:none;", and tell me if that fixes it. Monchoman45 Talk Contribs Skystone 22:33,2/12/2012- 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. Joeytje50talk 10:05, February 13, 2012 (UTC)
- Then try
width="1px" height="1px". That should make it too small to notice. Monchoman45 Talk Contribs Skystone 22:15,2/13/2012- 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. Joeytje50talk 20:58, February 15, 2012 (UTC)
- Could you please fix this? Joeytje50talk 14:02, February 18, 2012 (UTC)
- Another user reported this problem yesterday, and I added a
z-indexwhich 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. Monchoman45 Talk Contribs Skystone 16:46,2/18/2012
- Another user reported this problem yesterday, and I added a
- Then try
- 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. Joeytje50talk 10:05, February 13, 2012 (UTC)
- Try giving the embed
- 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
Signature code
Edit
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) :)
Starfleet Academy Hail my ship 06:49, 14 Feb, 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.) :) Starfleet Academy Hail my ship 03:08, 15 Feb, 2012 UTC
- 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. :) Starfleet Academy Hail my ship 06:28, 15 Feb, 2012 UTC
Minimalist chathacks
Edit
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, Joeytje50talk 20:42, February 20, 2012 (UTC)
Hiding comments on RC
Edit
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. TehAnonymous <3 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. Monchoman45 Talk Contribs Skystone 13:46,2/22/2012
B3 Translation
Edit
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. Monchoman45 Talk Contribs Skystone 19:57,2/23/2012
- 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
Edit
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! —Technology Wizard ·Contribs· ~Talk~ ·E-Mail· 06:05,2/24/2012
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? —Technology Wizard ·Contribs· ~Talk~ ·E-Mail· 06:48,2/24/2012
- 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. Monchoman45 Talk Contribs Skystone 12:41,2/24/2012
- 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. —Technology Wizard ·Contribs· ~Talk~ ·E-Mail· 18:32,2/24/2012
- 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? —Technology Wizard ·Contribs· ~Talk~ ·E-Mail· 02:31,2/25/2012
- You can get a list of commands and access information about them with
/help. You should be able to hide the afk and clear buttons with#Write .wikia-button {display:none;}. 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. Monchoman45 Talk Contribs Skystone 04:26,2/25/2012
- You can get a list of commands and access information about them with
- Do you know when you will have it done? Because it keeps ruining my chat logger bot. :S —Technology Wizard ·Contribs· ~Talk~ ·E-Mail· 04:54,2/26/2012
- Soon. Most of the architecture is already in place, and the socket was just updated to be more efficient. Monchoman45 Talk Contribs Skystone 05:37,2/26/2012
- Can you leave me a message or something so I know when it's ready please? Thanks. —Technology Wizard ·Contribs· ~Talk~ ·E-Mail· 01:18,2/27/2012
Initializing Chathacks
Edit
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. Monchoman45 Talk Contribs Skystone 18:34,2/26/2012
- 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. Monchoman45 Talk Contribs Skystone 20:38,2/27/2012
Hello
Edit
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. Monchoman45 Talk Contribs Skystone 20:39,2/27/2012
Chat saving
Edit
Hi. I have question. How save conversation from chat (example)?
Ponurak
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. Monchoman45 Talk Contribs Skystone 20:40,2/27/2012
- OK. I'm interested.
Ponurak
21:03, February 27, 2012 (UTC)
- Me too. Please notify at my talks page once you make the bot script available. infiniteMaxxisTalk?!? 05:12, March 2, 2012 (UTC)
- OK. I'm interested.
Omit avatars in Chat
Edit
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 infiniteMaxxisTalk?!? 04:16, March 4, 2012 (UTC)
- You can do so with a little css, place
.Chat .avatar {display:none;}in your global css file.--GodPray 07:01,3/4/2012 - I done it. But it still leaving useless spaces in chat, as annoying as not avatars. infiniteMaxxisTalk?!? 08:59, March 7, 2012 (UTC)
- You need to remove the message padding as well.
.Chat li {padding:18px 15px 16px;}will fix that. Monchoman45 Talk Contribs Skystone 15:24,3/11/2012
- You need to remove the message padding as well.
BlogReplySpeedyDeleteButtons
Edit
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] + '</option>';}
var html = '<select class="blog-comment-speedy" style="font-size:10px; width: auto;">' + deleteoptstr + '</select><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
$('#article-comments-ul li .tools'), and removeli. It should then loop through every comment, both parent and reply. Monchoman45 Talk Contribs Skystone 15:33,3/11/2012
How do you get user avatar with JS if not in Oasis?
Edit
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! —Airhogs777 WCB WS 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. Monchoman45 Talk Contribs Skystone 15:19,3/11/2012
- Humpf, too bad. Well, thanks for responding. —Airhogs777 WCB WS 19:54, March 11, 2012 (UTC)
Chat Hacks
Edit
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?
{{SUBST:User:Jack Pistol/AdminSig}}
- 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. Monchoman45 Talk Contribs Skystone 15:21,3/11/2012
Sending messages
Edit
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 sendMessage(msg)? It would be great if you could do that. Thanks in advance, Joeytje50talk 15:04, March 11, 2012 (UTC)
- A function for this already exists in Wikia's code. Monchoman45 Talk Contribs Skystone 15:18,3/11/2012
- 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? Joeytje50talk 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
mainRoom.sendMessage({which:13,shiftKey:false,preventDefault: function() {}})to send the contents of the messagebox contents. Thanks again. Joeytje50talk 21:49, March 15, 2012 (UTC)
Bots and Message Walls
Edit
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
Edit
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? —Sam Wang 04:49, March 15, 2012 (UTC)
- I've replied to this already, so you don't have to do that anymore. Joeytje50talk 21:21, March 15, 2012 (UTC)
- Can you check out Thread:365240 please? —Sam Wang 09:21, March 17, 2012 (UTC)
Chat Topic
Edit
Fikz it.--GodPray 23:17,3/17/2012
Chat hacks stopped working
Edit
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? RubyRose17| 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 (: – Tm_T@Community Central:~$ 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. Monchoman45 Talk Contribs Skystone 13:17,3/19/2012
- 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. Monchoman45 Talk Contribs Skystone 16:58,3/19/2012
- 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'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. RubyRose17| 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. (: – Tm_T@Community Central:~$ 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. Monchoman45 Talk Contribs Skystone 12:17,3/20/2012
- 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. RubyRose17| 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. Monchoman45 Talk Contribs Skystone 12:25,3/20/2012
- Thanks! :) RubyRose17| Like, if Picasso made a person, You'd be his masterpiece. 22:15, March 20, 2012 (UTC)
Signature problems
Edit
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:
{{SUBST:User:Pecoes/sig2|{{SUBST:#time: H:i, F d, Y (\UTC)}}}}This is what I got in User:Pecoes/sig2:
{{User:Pecoes/sig|{{{1|}}}}}This is User:Pecoes/sig:
[[User_talk:Pecoes|<span style="font: 400 0.95em 'Lucida Bright','Lucida Sans Unicode','Lucida Sans','Lucida Grande',sans-serif;"><span style="color:#971771">p</span><span style="color:#971771;font-size:1em">e</span><span style="color:#bf4e46">c</span><span style="color:#d06333">o</span><span style="color:#e6811b;vertical-align:-0.25em;border-top:1px solid #e6811b">e</span><span style="color:#ffa200">s</span></span>]] <span style="font: 200 0.85em 'Lucida Bright','Lucida Sans Unicode','Lucida Sans','Lucida Grande',sans-serif;"> {{{1|}}} </span>And this is the result here at CC:
pecoes 09:00, March 19, 2012 (UTC)
But this is the result at other wikis:
{{SUBST:User:Pecoes/sig2|08:51, March 19, 2012 (UTC)}}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 -- RandomTime 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?
{{#ifexist: User:Pecoes/sig2 | {{subst:User:Pecoes/sig2|{{subst:#time: H:i, F d, Y (\UTC)}}}} | [[w:User_talk:Pecoes|pecoes]] {{subst:#time: H:i, F d, Y (\UTC)}}}}pecoes 11:29, March 19, 2012 (UTC)
- Alright then. I was a little worried that #ifexist might be a resource hog as well... Thank you! :) pecoes 11:50, March 19, 2012 (UTC)
Alright. So this is my signature then:
{{subst:#ifexist:User:Pecoes/sig2|{{subst:User:Pecoes/sig2|{{subst:#time:H:i, F d, Y (\UTC)}}}}|[[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.25em">e</span>s]] {{subst:#time:H:i, F d, Y (\UTC)}}}}My "main" signature is still templated, though - I'm just mentioning that in case you were trying to talk me out of it :P pecoes 13:04, March 19, 2012 (UTC)
- I believe signatures are transcluded as output only, not as direct wikitext - I have an
ifexist:in my sig that isn'tsubst:ed, and it appears as output. Monchoman45 Talk Contribs Skystone 13:11,3/19/2012
JS Error
Edit
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 window.chatwindow.$('body').prepend(', 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. Joeytje50talk 13:55, March 24, 2012 (UTC)
i'm in a rush right now but i have time to talk
Edit
I only have time is say this You baned me for a wrong reson I was just announing a contest. you mean —This unsigned comment is by Invader Pucca (wall • contribs) . Please sign your posts with ~~~~!
- 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. Monchoman45 Talk Contribs Skystone 16:39,3/25/2012
- 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
Edit
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? Eladkse Talk Casualty Holby City 16:16, 31/03/2012
- The only thing I can think of is that the MIME type of your script tag is
application/javascript- it should betext/javascript, but I'm not sure if that's actually critically important or not. Try changing it and see if that fixes it. Monchoman45 Talk Contribs Skystone 00:58,4/1/2012
(Reset indent) 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...":
<script type="text/javascript"> $('<p>works</p>').appendTo('#WikiaArticle'); </script>
But this worked well:
<script type="text/javascript"> function waitForJQuery () { if ("undefined" == typeof $) { window.setTimeout(function () { waitForJQuery(); }, 200); return; } $('<p>works</p>').appendTo('#WikiaArticle'); } waitForJQuery(); </script>
pecoes 04:28, April 01, 2012 (UTC)
- 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. Eladkse Talk Casualty Holby City 06:57, 1/04/2012
- Another little thing: This if-construct doesn't work as intended:
if (wgUserGroups.join(' ').indexOf(wgRestrictionMove) != -1) { /* ... */ }
- 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:
function testIntersection (a1, a2) { for (var i = 0; i < a2.length; i++) { if (-1 != $.inArray(a2[i], a1)) return true; } return false; } if (testIntersection(wgUserGroups, wgRestrictionMove)) { /* ... */ }
- Try running
wgUserGroups.join(' ').indexOf(wgRestrictionMove)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. Eladkse Talk Casualty Holby City 08:33, 1/04/2012
- Try running
- 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:
if (-1 != $.inArray('bureaucrat', wgUserGroups) || -1 != $.inArray('sysop', wgUserGroups)) { /* ... */ }
- Shouldn't it? O_o pecoes 10:07, April 01, 2012 (UTC)
- As I stated in chat, the Wikiamobile skin does not import the jQuery library, therefore a manual import is needed with
importScriptURI();from https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js. to get the jQuery parts to work. Also,application/javascriptis the preferred JS MIME type as per IETF. TK999 11:12, April 1, 2012 (UTC)
- As I stated in chat, the Wikiamobile skin does not import the jQuery library, therefore a manual import is needed with
- Shouldn't it? O_o pecoes 10:07, April 01, 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. Eladkse Talk Casualty Holby City 12:27, 1/04/2012
application/javascriptappears to be very similar, if not exactly the same, astext/javascript. What makes it better? Monchoman45 Talk Contribs Skystone 14:54,4/1/2012- As I remember, IETF changed their recommendations and
text/javascriptis now obsolete. TK999 15:31, April 1, 2012 (UTC)- Well,
importScriptURI();is undefined. Now what should I do? Eladkse Talk Casualty Holby City 15:39, 1/04/2012- Then just add
<script type="application/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>to the verbatim page. TK999 15:49, April 1, 2012 (UTC)
- Then just add
- Well,
- As I remember, IETF changed their recommendations and
- There seems to be exactly one line in the the entire script that requires jQuery. Are you sure loading jQuery is justified? -- pecoes 16:01, April 01, 2012 (UTC)
- 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. Eladkse Talk Casualty Holby City 16:03, 1/04/2012
- Sorry, but that's not a jQuery method. That's one of Wikia's jQuery extensions. It's defined in oasis_shared_js -- pecoes 16:36, April 01, 2012 (UTC)
- 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. Eladkse Talk Casualty Holby City 16:45, 1/04/2012
(Reset indent) As far as I can tell only line 5:
$('#wkImgMrk').wrap('<a href="' + wgServer + '/wiki/' + encodeURIComponent(mainpage) + '" />');
and line 42:
$('#lvl1').prepend('<li class="cld pagetools"><span>Page tools</span><ul class="lvl2">' + viewlink + editlink + renamelink + historylink + deletelink + protectlink + '</ul></li>');
Here's how I would insert HTML without jQuery. -- pecoes 17:14, April 01, 2012 (UTC)
(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? Eladkse Talk Casualty Holby City 18:50, 1/04/2012
- Whoa. That is a lot messier than I imagined. Two lines of code indeed :(
Your Signature Colour Change
Edit
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 {{SUBST::#time: H:i,n/j/Y}} any suggestions on fixing it? -- Lyco499 (talk) 04:22, April 1, 2012 (UTC)
Inside the date and time box this appears instead {{SUBST::#time: H:i,n/j/Y}} any suggestions on fixing it?
- I asked a similar question a few posts above. Take a look at RandomTime's reply, please! -- pecoes 05:00, April 01, 2012 (UTC)
#eb0is 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 wordblue), you'll change the border and username color. Monchoman45 Talk Contribs Skystone 05:19,4/1/2012
Ping phrases
Edit
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
Edit
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 #Chat hacks suggestion. Monchoman45 Talk Contribs Skystone 21:28,4/11/2012
API Script
Edit
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. Monchoman45 Talk Contribs Skystone 19:15,4/13/2012
Hacks
Edit
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
Edit
end
Edit
—A.r.s.h. I fell in a hole so leave me a messageWhat have i done!!!! WAW
Hack Request
Edit
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. Monchoman45 Talk Contribs Skystone 01:38,5/10/2012
A problem
Edit
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. Monchoman45 Talk Contribs Skystone 18:39,5/14/2012
Pings and links
Edit
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?
Cåm 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. Monchoman45 Talk Contribs Skystone 19:33,5/15/2012
Phone Chat
Edit
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. Monchoman45 Talk Contribs Skystone 18:48,5/17/2012
Tutorial
Edit
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. HuntleyS&W M&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. Monchoman45 Talk Contribs Skystone 06:04,5/18/2012
Script
Edit
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. Monchoman45 Talk Contribs Skystone 15:23,5/24/2012