User talk:Monchoman45/Archive 4

Got questions? Feel free to ask!

Curved corners
Hey,though I've been using this feature for a long time I still dont know the code to curve the corners of tables...do help me:)


 * That's CSS. It works like this:


 * Yields:


 * You need all 3  properties, or it won't show up in every browser. Also note that border radii don't show up in most IE versions - but you can't help that, it's Microsoft's fault.

Hey I'm talking about the curved corners,like in you signature:)--


 * I thought that would work, although apparently wikitext can't make corners on tables. Try putting this in Common.css:

 table { -moz-border-radius:2ex; -webkit-border-radius:2ex; border-radius:2ex; }
 * That should work.

On you user page,you got a template right?..the template has it's border rounded.I'm talking about that code.Thanks:)


 * That is the code..

Thanks a lot buddy..I've got a question,where should the "px" go?.Is it ?:)--


 * You can use  for border radius, but I usually use , which is just a different unit.

One more thing
Please make this appear in one piece!(in a single box,should not be too much of length but can be as wide as possible)

sdjhsjklflhdsjkhjfhdshfdsfjkdhsjfhdshfjkdhsjkfhjdhsjfhjdshfjkhdsjkfhjkdshjkfhjk

dshjfkhjdshfdsjhjfhjsdhjkd

hsjkhdsjhdsjhdsjhdsjhdsjhdskhlahlsdajsdahlhdjshkjdshkjhdhkhldskhsd

If possible this also: sdjhsjklflhdsjkhjfhdshfdsfjkdhsjfhdshfjkdhsjkfhjdhsjfhjdshfjkhdsjkfhjkdshjkfhjkdshjfkhjdshfdsjhjfhjsdhjkdhsjkhdsjhdsjhdsjhdsjhdsjhdskhlahlsdajsdahlhdjshkjdshkjhdhkhldskhsd

Thanks:)--


 * What do you mean by one piece? Those are all on the same line for me.
 * Yep it is in the same line for me too.
 * I mean I want all of 'em in a single box(can be of any length,but smaller width)..:)
 * This should come in a single box:
 * sdjhsjklflhdsjkhjfhdshfdsfjkdhsjfhdshfjkdhsjkfhjdhsjfhjdshfjkhdsjkfhjkdshjkfhjk

dshjfkhjdshfdsjhjfhjsdhjkd

hsjkhdsjhdsjhdsjhdsjhdsjhdskhlahlsdajsdahlhdjshkjdshkjhdhkhldskhsd

But shouldn't be too wide...but any length:)


 * Do you mean like this?

texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext
 * {| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
 * {| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"

sdjhsjklflhdsjkhjfhdshfdsfjkdhsjfhdshfjkdhsjkfhjdhsj

fhjdshfjkhdsjkfhjkdshjkfhjkdshjfkhjdshfdsj

hjfhjsdhjkdhsjkhdsjhdsjhdsjhdsjhdsjhdskhlahlsdajsdahlhdjshkjdshkjhdhkhldskhsd
 * }

All of it is in a single box right?...I want the all of it inside this box :)

Nevermind I figured it out:)..thanks:)

Fun with code
I have a project for you and it should be fun. I am having problems with an annoying user on Bleach wiki. He thinks he knows all there is to know about wikis and is constantly showcasing "his" css and js to the newer users. Really his css and js are just copies of my own pages. Think you can develop some code that will just mess everything up for him badly enough that he will stop trying to copy everything I do?--


 * I have mixed feelings about this:I luv the idea(I usually do this type of stuff at my wiki!)..but what?Godi thinks this way?lol!

Common.js issues
Hey, I tried what you said for my Common.js issue at Combine OverWiki, but nothing changes. :/ Help! Klow 19:21, May 21, 2011 (UTC)


 * At the end of the  function at the top of the page, instead of , use.
 * Still broken! Collapsing template still gone! Klow 00:29, May 22, 2011 (UTC)
 * In the  function near the bottom, the replace line has an extra   at the end. Just in case, I checked ahead this time - that should be your last syntax error, so it should work once you change that. Also, SiPlus has added a few functions to your Common.js that violate the ToU - For example, the one that unbinds listeners on  . Staff will make you remove them later anyway if you leave them there, it's just easier to do it now.
 * Oh man, that's fixed, at last! Thanks! I'll remove that, but what is it exactly? :/ Klow 10:59, May 22, 2011 (UTC)
 * I think it this:You've seen the topmost bar on the wikia right?It contains dropdown menus for different wikias,the code empties it.I think it's that.
 * Sort of. The function unbinds the listener that fires when you mouse over the menu - it stops it from dropping down.

Layout pages
Is there a way to know all the pages that were created using the Layout builder?


 * I believe there's a way to find all pages created with a specific layout, although I don't know how. I tend to ignore LayoutBuilder, because it forces RTE use.

Missing Images
Hi Monchoman45, I'm an admin on the Hogwarts RPG Wiki and we had to shut down our House Points system because two images went missing. I contacted a Wikia Staff but they didn't reply. Do you think you could help? Thanks, Head.Boy.Hog (Talk To Me)  12:46, May 22, 2011 (UTC)


 * I'm seeing all the images fine. What browser are you using?


 * Safari. But you see File:Gryff.png and File:Puff.gif? And speaking of the RPG, did I do the Facebook thing for the RPG right? Head.Boy.Hog (Talk To Me)  13:08, May 22, 2011 (UTC)


 * Yep, both of those are there. The facebook entry also looks good.


 * You see 4 hourglasses, 1 red, 1 blue, 1 I just looked at it and noticed they were fixed. I'll find out who did it. Thanks, <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  13:20, May 22, 2011 (UTC)

City of Wonder Wiki
Hey Monchoman, I've been using the Sig code now for quite a while and everything going smoothly however for some reason, the code has disappeared off the Sig/Real page for the City of Wonder wiki and now the time stamp isn't showing on my sig line. I've tried re-adding the code as before but for SOME ODD reason, it's not saving it this time. Any ideas or suggestions? Thanks mate for your continued help! :-)


 * I'm seeing it on the page you linked. Is the problem still there?

Man is this tempre-mental (sp?) or what? lol! What browser are you using to see it?
 * The sig bar is there (in the City of Wonder wiki) but the time stamp (in the City of Wonder wiki) isn't showing. I've checked it using Firefox AND IE8 with the same results, even clearing cache to make sure I wasn't missing something. I add the code to the edit box, when I preview it, it's not showing nor once I save the page it's not there. Also on some pages, such as my talk page it's showing as: 20:39,5/22/2011
 * P:S: also on this wiki Logo Creation Wiki the code sig line is showing as well prompting me to think there may be something changed in the Special Preferences area ? It's now propogated to several wiki's :(((
 * P:S: also on this wiki Logo Creation Wiki the code sig line is showing as well prompting me to think there may be something changed in the Special Preferences area ? It's now propogated to several wiki's :(((


 * You need a  page, like mine, or it won't substitute properly.


 * Amazing how we can miss one tiny detail and the whole train rumbles to a dead stop!
 * Thanks! And in the meantime please overlook my lapse of intelligence :-) All fixed!



Warning notification
Hey, me again. My wiki has a spoiler notification that appears at the top of every page. It is only appearing for registered users but I would like it to appear for everyone. It uses the following codes.

CSS /*spoiler warning*/ .warningmessage { color: #ff6500; background-color: #000000; background-image: url(http://images1.wikia.nocookie.net/okami/images/4/43/YamiIcon.png);

JS /*spoiler warning*/ if( ( wgAction === "edit" && wgNamespaceNumber > -1 && wgNamespaceNumber % 2 === 0 ) || wgPageName === "Special:CreatePage" ) $(" Ōkami Wiki contains spoilers! Read at your own risk!   ") .prependTo(skin === "oasis" || skin === "wikia" ? '#WikiaArticle' : '#bodyContent');

Do you know how to get it to appear regardless of whether a user is logged in or not?--Soul reaper 04:28, May 23, 2011 (UTC)


 * I dont think CSS loads for anons:)


 * CSS loads for everyone, just like JS. A few things I notice with this:
 * You need a closing bracket after the CSS.
 * is broken - it's almost always edit on all pages, regardless of whether you're actually editing a page or not.
 * The closing  tag is missing the.
 * It may help to put parenthesis around the condition part of your ternary operator.
 * You don't need to use,   will do - types can be confusing in JS, as one object can have multiple types. Strings and numbers, for example, are essentially interchangeable in many cases.
 * Of those, fixing  is the most difficult - instead, use , and put this after your JS:

<pre style="margin-left:48px;"> function urlQuery(quer) { for(i in location.href.split('?')) { for(j in location.href.split('?')[i].split('&')) { if(location.href.split('?')[i].split('&')[j].split('=')[0] == quer) { return location.href.split('?')[i].split('&')[j].split('=')[1]; }		}	}	return ''; }
 * That should fix it.
 * Hey on our wiki,anons still see the "image added by" stuff while the css doesnt allow it
 * Checked on my sandbox wiki, and CSS definitely loads for anons. There's probably a different problem with the CSS.
 * Hmm! I'll inform the community about this.Thanks:)
 * I made the changes you suggested but it still only appears for registered users, any other suggestions or is there perhaps a larger error on the wiki?--Soul reaper 04:30, May 24, 2011 (UTC)
 * Probably a larger error. Unfortunately, my school proxy blocks your wiki, so I can't check what it is at the moment.
 * Alright, thanks for all your help--Soul reaper 01:31, May 26, 2011 (UTC)
 * I just looked at it - interestingly enough, none of your CSS ever loads. Not for anons, nor for logged in users. This is probably due to a syntax error in the code, as in some cases the browser will simply discard a file that throws a fatal error while compiling.
 * That's really weird, the spoiler warning shows up for me. Do you know if it can be fixed?--Soul reaper 07:17, May 29, 2011 (UTC)

Hi
I saw what you put in response to what I put on Sannse's Talk Page, and I would be sending this to Dopp normally, but I have a few questions:

You said the situation is being handled or worked on, and that it takes a while to figure out who is who. Does that mean the bans could be changed, or not?

Dopp might think me and the users involved are the same people, so that is why i'm leaving this on your Talk Page.

I know you can't talk against your colleague, and I don't expect you to, but can you kindly give me an explanation about that comment on Dopp's Talk Page that she made to DroidX? I forgot to put that DroidX is Vanessa Brandon under a different account. The comments they exchanged made it seem like there was a purpose to allowing Vanessa to create a second account to get John(Lupojohn) banned. I'm not accusing, rather asking.

Thank you. Kindly respond when you can. MarissaDunn 17:54, May 25, 2011 (UTC)MarissaDunn


 * Dopp is handling the situation. Staff are checking ips to see who is who and will ban the alternate accounts and the originals that need to be banned. Leave it to Dopp to handle.--

WA-->RC
Is there a way to change the button that has "Wiki activity" to "Recent Changes"?...I lately became a RC fan:)


 * Check out his blog :) - Tjcool007 (Talk / Contribs) 08:55, May 27, 2011 (UTC)
 * Oh! Thanks buddy:)
 * Also how do I change the "Random Page" to the "logs" page?(is there a way?)
 * Put  underneath the line that starts with.
 * So we can basically change it to any link we want?
 * Yep. Any link can be changed into any other link.
 * Yep. Any link can be changed into any other link.

Parser Evaluation Order
Hi! I made a while ago this forum and I thank you again for your answer. About my problem with the parser evaluation order, if you don't find a solution tell me so I'll know that it can't be done. Of course it's not an urgent matter, so don't worry. leviathan_89 17:36, May 27, 2011 (UTC)

Duke Nukem Wiki CSS
Would it be possible for you to adjust the Duke Nukem Wiki's CSS so that it can properly display portals, like here? Darkman 4 22:42, May 30, 2011 (UTC)


 * This needs to be sent to Special:Contact and they will enable the portal namespace so it displays properly--
 * I've sent a request, but someone has said that the wiki's CSS needs to be slightly adjusted as well. Darkman 4 22:44, May 30, 2011 (UTC)
 * The boxes need CSS, but that's it. If you're thinking about the rail, it should be removed by default when Wikia enables the Portal: namespace for you. If it's still there after they enable the namespace, add  to MediaWiki:Wikia.css.

Eversor Guild Wiki
Hey Monchoman, can you or someone else in the know take a look at our CSS page and change the background for the edit box back to white and the text to black (such as appears here when editing?) We borrowed a CSS page from another wiki to help get the Scrolling center area, and somehow in the mix our background changed to black. I've tried changing it to white using the Theme Designer but to no avail, and I've tried changing the html color codes on the CSS page where it looked like it would take, but still nothing has changed. It's currently black with/grey text and talk about tough to see! Thanks so much for helping fix this annoying issue!

We may have two different CSS pages working against each other :( so keep whichever we need, heck get rid of them all, whatever works and whatever helps! <b-grin> </b>

<b-grin>Common CSS and Wiki CSS </b>

<b-grin>Indebted, </b>


 * In Wikia.css, change  to , and it should be fixed.


 * That fixed it nicely! Thanks again for your consistant support and knowledge :--)

Right
Get this to float on right buddy:)--


 * Like that?


 * yeah...thanks a lot(another user asked me for this and I didnt know how to:))--

Comment highlighting
Can you gimme the code to highlight a specific user's comment on blogs(personal JS/CSS).Thanks:)


 * Use this:

.comments li[data-user="Username"] blockquote {background: code !important;}


 * Slightly more complicated than the above, the code that's used to highlight staff (which you can edit) is:

I have the first code in my CSS..it doesnt work:(
 * Well the glee wiki has them in it's MediaWiki:Wikia.css and it works except in Google chrome which shows normal users with it when only admin's comments are highlighted.
 * Hmm! It just doesnt work no matter what:(
 * It works fine with me. Do you use Chrome?

.comments li[data-user="Godisme"] blockquote { background: #8B0000 !important; } .comments li[data-user="Godisme"] blockquote:after { border-color: transparent #8B0000 #8B0000 transparent !important; } .comments li[data-user="Godisme"] blockquote div { background: transparent !important; } .comments li[data-user="Godisme"] blockquote {font-family:Kristen ITC !important;} .comments li[data-user="Godisme"] blockquote {color:#FFF000 !important;}

The first three .comments are for highlighting, the fourth is for font and the last is for font color.--

Hmm! I added the code and I'm waiting for the effect to take place..@F1:I use FF and Safari.Thanks anyway guys:)

Forum Problems on the Hogwarts RPG
Hi, I'm having problems with 2 forums on the Hogwarts RPG Wiki. If you see here, 2 forums say that they were never edited but there are some, if you look here, they were edited. Could you help? <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  13:54, June 4, 2011 (UTC)

Oh, and the same on the Forum:Index. <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  13:55, June 4, 2011 (UTC)


 * I was able to make Forum:Summary1 for Care of Magical Creatures work, using this page (which you can delete now). I'm not sure why it won't work for the other pages you have in Category:Summary1 for Care of Magical Creatures, but I think that putting Template:Forumheader/Summary1 for Care of Magical Creatures on those pages will make them show up. If you don't want the banner at the top, you can remove it from the template or hide it with.


 * I believe the pages must be in the Forum namespace also. - Tjcool007 (Talk / Contribs) 17:02, June 4, 2011 (UTC)


 * I didn't notice that - yes, those pages must be in the forum namespace. Alternatively, you can go to the forum list page and delete, although for organizational purposes it's probably better to have them as forum pages.


 * I was able to fix everything but the Summary1 so I deleted it. Thanks for your help! <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  17:24, June 4, 2011 (UTC)

Small Text Problem on the Hogwarts RPG
Hi, I have another thing I hope to get your help on. On the Hogwarts RPG, Shooting Starz's talk page's writing is small once you get to the bottom. I was looking at it and the small writing starts right under this. The page is too small to be archived and I don't think we should take off the template. Could you help? Thanks, <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  21:43, June 4, 2011 (UTC)


 * I see all the writing normal sized. What browser are you using?


 * I'm using Safari. <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  21:59, June 4, 2011 (UTC)


 * I changed to Explorer and now I see it fine. I told Shooting Starz to try updating her browser and/or archiving her talk page. Thanks, <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  22:16, June 4, 2011 (UTC)


 * Archiving the talk page won't fix the problem, just isolate it. It also may help to not use  tags, which are deprecated.

View on the Hogwarts RPG
Hi Monchoman45,

If you go here, you'll see Bureaucrat Admin underlined at the very top of the user page. (On the same line as the user name.) How do you do that on the Hogwarts RPG? Thanks, <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  12:34, June 5, 2011 (UTC)


 * That would appear to be the PHP. I checked through all of the admins' pages for any sort of hook, and came up empty handed. It may be part of the new userpage layout, which is worse than the old one in a few respects. So instead, put this in your :

<pre style="margin-left:24px;"> function AdminUserpageHeader { $('head').append('<style type="text/css">\n/* From UserProfilePage.scss */\n.WikiaUserPagesHeader .user-groups{*display:inline-block;float:right;margin:7px 5px 0 0}.WikiaUserPagesHeader .user-groups:after{content:".";display:block;height:0;clear:both;visibility:hidden}.WikiaUserPagesHeader .user-groups li{font-size:11px;font-weight:bold;background-image:url(http://images1.wikia.nocookie.net/__cb37682/common/skins/oasis/images/checkers.png);background-position:0px 14px;background-repeat:repeat-x;float:left;height:20px;margin-right:7px}.WikiaUserPagesHeader .user-groups li span{text-decoration:none;color:#3a3a3a;}\n '); $('#WikiaUserPagesHeader h1').after('<ul class="user-groups"></ul>'); //Admins if(wgPageName == 'User:Head.Boy.Hog' || wgPageName == 'User:Another admin' || wgPageName == 'User:Another admin') { $('.user-groups').prepend('<li> Admin </li>'); }	//Bureaucrats if(wgPageName == 'User:Head.Boy.Hog' || wgPageName == 'User:Another admin' || wgPageName == 'User:Another admin') { $('.user-groups').prepend('<li> Bureaucrat </li>'); } }

addOnloadHook(AdminUserpageHeader);
 * That'll give you exactly the same thing. You'll need to add each admin's and each bureaucrat's name to their respective s in the way that they're there now.


 * I'll do that. Thanks! <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  13:43, June 5, 2011 (UTC)


 * It's okay, we don't need it since we're going to get more users and we'd need a lot more admins, rollbacks and bureaucrats. <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  13:55, June 5, 2011 (UTC)

MediaWiki:Edittools
Is it possible to customize those tools using personal JS/CSS?--


 * Yes. What would you want to add/change/remove?
 * Nothing!I just wanted to know if it was possible:)

Forum Problem on the Hogwarts RPG
I have a problem with Forum:Fairy Lesson for Care of Magical Creatures on the Hogwarts RPG, it says "DPL:Too few categories". Could you help? Thanks, <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  23:36, June 6, 2011 (UTC)


 * Fixed. You were using  instead of.


 * Thanks! <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  22:32, June 7, 2011 (UTC)

Inter Wikia Pics (On different Wikis)
You know how you can add w:c:WIKI DOMAIN:PAGE NAME to a page to add a link to another Wiki's page? Well can you do to add a picture from another Wiki? <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  23:59, June 9, 2011 (UTC)


 * Nope, the File call will search for a pic on the wiki starting with w:c: then--


 * And  will simply link to   on , and display the text  . You can put just the full url of the picture on the page, but it won't link or be in a thumbnail like a regular picture. However, it might be possible to mimic some of the ways files are handled with a template.

Summary dropdowns
You get a dropdown menu of summaries while editing the Runescape wikia,can I have the code for my JS/CSS..that would be very helpful for me:)


 * You might want to ask the Runescape Wiki admins. I can't access Runescape Wiki from where I am now.
 * You at school?
 * Yep. Only one more week, luckily.
 * I sorta figured it out...Can you access my JS?...I get the dropdown bar but no content!
 * Can you link it?
 * My JS?..here.
 * Think you missed my message
 * Yes you did!
 * Yes you did!

(unindent) Sorry, time's been tight recently. The code is trying to load Template:Stdsummaries, which obviously won't exist on most wikis. You'll probably want to get the HTML from Runescape Wiki's template, and then hardcode it into the JS by replacing "HTML" at the bottom with the HTML from the template: $(function {	var $label = $('#wpSummaryLabel');	if (!$label.size) {		return;	}	$combo = $(' ').attr('id', 'stdSummaries').change(function { var val = $(this).val; if (val != '') { $('#wpSummaryEnhanced,#wpSummary').val(val); }	});	$label.prepend(' ').prepend($combo).prepend('Summaries: ');	$combo.append('HTML'); }); Hopefully that'll work, I took out the whole Ajax function which looked like it had a calibrating step in it, although I don't think it's necessary.


 * Thanks!..check out my JS,and see if what I've done is right(It doesnt work).

JS Help
Hi Moncho, I have the following wiki link: 'community.wikia.com/index.php?title=&action=edit'. How would this be written in JS, and how could the result of this be used in a html link tag?


 * Rappy 19:30, June 10, 2011 (UTC)
 * , if you want the whole thing. And here's a list of the variables you're most likely to want to use for stuff, as they would be for you on the page Forum:Community Central Forum:


 * There are a few more technical ones and a few convenience ones, but you can do most of the things you'd want with those.

Underline titles
Hello there, how do I change the colors and thickness of the lines under the titles within an article? I'd also like to have lines under each subtitles. Good example here. I'd like a stronger and thicker grey under "Features" and a line under "Reception and control complexes" as well. Klow 13:17, June 13, 2011 (UTC)


 * You must use this:

h1 { border-bottom:XXpx solid #808080; margin-bottom:XXpx; } Just replace h1 with the particular headline number (h1, h2, h3, h4 and h5) and replace "XX" with their values.
 * That works but not only for the article titles. So even the wiki logo is underlined. Plus that it doesn't work for the "==" titles. Klow 15:08, June 13, 2011 (UTC)
 * Like Finchelfanno said, replace h1 with the header type you want to change. == is h2 === is h3, etc. Try .WikiaArticle h2, .WikiaArticle h3 { border-bottom:XXpx solid #808080; } Rappy 15:50, June 13, 2011 (UTC)

Particular CSS not working in MediaWiki:Wikia.css
Hi Monchoman! I figured if anyone could answer this question it would be you! On our wiki, we like the edit window to have a red background if the page being edited is fully protected. This acts to remind Administrators that they are editing a fully protected page and to take care. You can see an example . The following is the CSS that we use in MediaWiki:Monobook.css where it works perfectly:

N.B. The above code was changed to the new better code. Original input is here. — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  6:43PM EDT, June 17, 2011

Unfortunately, it does not work in Oasis, despite the code also being in MediaWiki:Wikia.css. I thought that it would at least work when one is editing in Source mode. But, it does not. The only thing I can guess is that the editing area in the RTE is called something other than. Any ideas how to get it to work in Oasis? Thanks! — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  5:06AM EDT, June 17, 2011


 * I'd disable the RTE in your preferences under editing. While it is possible to color the RTE background, it's a pain to find the correct reference, as the RTE is a giant mess, in its abilities, its coding, its structure, and its numerous errors. You also don't need all the namespace classes in the CSS -  does the same thing as what you have there.


 * This is because Wikia dropped the ball with the RTE and didn't forward the original classes to the RTE text field. From the looks of it, there is no way to do what you want with the RTE other than with JS to see if the hidden original text field (source mode) exists and to color .cke_text (whatever the class is) with the color you want. Might want to Special:Contact the fact that those classes are lost when using the RTE. Rappy 17:10, June 17, 2011 (UTC)


 * Thank you both for your input! I thought that there might be a way to at least change it in source mode. But, now that I read both of your responses, I see that that is not easily possible. We are trying to reduce the need for users to have to rely on Monobook, of which this is only one aspect, and so are looking for ways to provide the same overall functionality in Oasis. Regarding Special:Contact, in reviewing the new RTE, I did mention it to staff. They indicated that they understood the comment, but I do not know if they’re working on it. Thanks again! — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  6:43PM EDT, June 17, 2011

Bot Request1
Hello, I made this topic back in May '11 asking if a bot can mass delete images. I wanted to know if you had time to clear out the first set of images. I did not create the Category they occupy; the images are linking by template so is that going to be a problem? -- Bunai82 (talk) 23:59, June 17, 2011 (UTC)
 * Category1


 * IIrc, Moncho only has AWB, which cannot delete images.--


 * I can delete the images using pybot, so you want all images in that category gone? -- 00:04, June 18, 2011 (UTC)


 * oh, I didn't know they do different actions ^_^;;
 * Yes, if possible all the images specifically with that category. Note, there is another of a similar name, but those images are to remain because they are sorted. -- Bunai82 (talk) 00:15, June 18, 2011 (UTC)

&larr; (outdent) AWB can delete if you have admin privileges on the wiki. From the manual: "Delete — For administrators use only. Allows you to delete a page. Upon pressing this button, a window appears asking for a summary of the change, which is then confirmed by pressing delete again."Hope that helps. — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  9:20PM EDT, June 17, 2011


 * I have AWB and my JS based script, which is capable of deleting images, although currently as it uses api.php it can only delete pages (or images) in a category. I just skimmed through api.php again and it looks like there isn't a module for unused images - although they can still be yanked out of index.php. However, the category you linked above is empty, so has this been resolved?


 * @Monchoman45, yes, it has been resolved, although I do have another set that needs deletion. What would I need to do? -- Bunai82 (talk) 18:46, June 18, 2011 (UTC)


 * If they're already categorized, you only need to sysop User:Monchbot and I can delete them for you. If not, you probably want to get Charitwo again, as it'll take me some time to get my bot to be able to delete things from Special:UnusedFiles.


 * Thanks. However, this isn't about Special:UnusedFiles ^_^ there are files I need, some are just numerous. This is about deleting images that are sorted by the "None selected" template. Sorry if my explanation wasn't clear.


 * Here is Category2. The first images you should see is cards and a top hat. ^_^; its not gonna go nuts is it? lol -- Bunai82 (talk) 05:39, June 19, 2011 (UTC)
 * Done. You can desysop the bot now, unless you've got another category you want deleted.
 * Thank you ^_^ very clean. I'll see if there is anything else in need of removal and get back to you. If not, I will comment when I remove the bot. -- Bunai82 (talk) 16:24, June 19, 2011 (UTC)
 * Here is Category3. The first images you should see is a mood bubble and a top hat. For this you can delete the template with the rest of the images. -- Bunai82 (talk) 21:08, June 19, 2011 (UTC)
 * Done. That category was a lot bigger than I thought it would be - taught me a thing or two about large queries that I'll have to change in my script later. ~ Monch bot ( Contribs  |  Monchoman45  |  Talk ) 22:58, June 6, 2011 (UTC)
 * Thanks again. I should have counted the amount of images ^_^; I'll release Monchbot, as I think I need Charitwo for the last one. -- Bunai82 (talk) 23:42, June 19, 2011 (UTC)
 * I believe the number was 851, which it attempted to delete all at once. Bad processing on my part.

global.js
I can't get to my global.js page. How do you do it. I did your blog instructions but it didn't work.<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  01:04, June 20, 2011 (UTC)


 * Special:Mypage/global.js--


 * Hey, Godi, that's my global.js page! Oh wait... Rappy 01:07, June 20, 2011 (UTC)
 * Thanks<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  01:13, June 20, 2011 (UTC)
 * Oh Rappy, I had no idea, so sorry :)--

Signature Help
Hello! I was wondering if you could help me add the time stamp to my signature. I edit many wikis so please leave me a message on my talk. 04:45, June 20, 2011 (UTC)

followed pages
in your blog you had a way to add contribs to the drop down menu in the upper right corner. But can you add blogs and/or delete followed pages? Thanks--<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  15:27, June 20, 2011 (UTC)


 * For blogs:

<pre style="margin-left:24px;"> function UserBlogsMenuItem { $('.AccountNavigation li:first-child .subnav li:first-child').after('<li><a href="/wiki/User_blog:' + wgUserName + '">Blogs</a></li>'); } addOnloadHook(UserBlogsMenuItem);


 * For editing followed pages:

<pre style="margin-left:24px;"> function WatchlistMenuItem { $('.AccountNavigation .subnav li a[href="/wiki/Special:Following"]').replaceWith('<li><a href="/wiki/Special:Watchlist/raw">Edit watchlist</a></li>'); } addOnloadHook(WatchlistMenuItem);
 * Sorry I meant I wanted to delete followed pages.(corrected typo) can you do this?<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  21:53, June 20, 2011 (UTC)
 * Sorry I meant I wanted to delete followed pages.(corrected typo) can you do this?<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  21:53, June 20, 2011 (UTC)
 * Sorry I meant I wanted to delete followed pages.(corrected typo) can you do this?<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  21:53, June 20, 2011 (UTC)


 * Updated code above. It'll link to the page that lets you add or remove pages from your watchlist. If you mean deleting the actual pages, you'd need a bot for that. '
 * umm I meant can you delete followed pages from the drop down menu?--<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  23:46, June 20, 2011 (UTC)
 * Do you mean unfollow a page?
 * Moncho, I think he means removing the followed pages link from the drop down menu by your name at the top.--
 * Exactly, thanks Godsime<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  23:58, June 20, 2011 (UTC)
 * Ah. In that case, use this:

<pre style="margin-left:168px;"> function WatchlistMenuItem { $('.AccountNavigation .subnav li a[href="/wiki/Special:Following"]').parent.remove; } addOnloadHook(WatchlistMenuItem);


 * Thanks--<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  00:02, June 21, 2011 (UTC)
 * My bad - updated the above code. The previous one will probably look bad.

Special:Watchlist & re-ordering AccountNavigation
As a slight change to the question so far, if I want to change to a true watchlist option, is the following correct? function WatchlistMenuItem { $('.AccountNavigation .subnav li a[href="/wiki/Special:Watchlist"]').parent.remove; } addOnloadHook(WatchlistMenuItem); The only thing I’m not sure of is, how do I change the text in the AccountNavigation dropdown menu to say Watchlist instead of Following? Thanks! — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  11:25AM EDT, June 21, 2011

 UPDATE : I ended up trying this: // Add Watchlist to AccountNavigation in the Wikia skin

function WatchlistMenuItem { $('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('<li><a href="/wiki/Special:Watchlist/'+ encodeURIComponent (wgUserName) +'">Watchlist</a></li>'); } addOnloadHook(WatchlistMenuItem);

// END Add Watchlist to AccountNavigation in the Wikia skin It did not work. So where did in-the-dark me go wrong? Thanks! — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  11:54AM EDT, June 21, 2011


 * $('<li><a href="/wiki/Special:Watchlist/'+ encodeURIComponent(wgUserName) +'">Watchlist</a></li>').insertAfter('.AccountNavigation .subnav li:first-child');
 * Rappy 17:22, June 21, 2011 (UTC)


 * Thanks Rappy! It works! Is there anyway to change the order of things in the dropdown for AccountNavigation? I’d like to change the position of the new item. Thanks! — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  2:32AM EDT, June 22, 2011


 * You can easily place it anywhere in that list. Just let me know what is in your list (provided it's not standard) and where you'd want it placed. Rappy 20:08, June 22, 2011 (UTC)

My current order is: I think I would like to change it to: I was thinking that we could create a separate file called something like User:Username/accountNav.js that would contain all of one’s personal changes to the AccountNavigation dropdown, which one would then import into one’s global.js with the following: // AccountNavigation re-order importScriptPage('User:Username/accountNav.js', 'wiki-with-actual-file'); // END AccountNavigation re-order That way one’s global.js would not get all cluttered. What do you think? Thanks! — Spike  Toronto
 * My talk
 * Watchlist
 * My contributions
 * Followed pages
 * My preferences
 * Help
 * Log out
 * My talk
 * My preferences
 * My contributions
 * Watchlist
 * Followed pages
 * Help
 * Log out

<pre style="margin-left:24px"> $(function AddNavigationLinks { $('<li><a href="/wiki/Special:Contributions/'+ encodeURIComponent(wgUserName) +'">My contributions</a></li><li><a href="/wiki/Special:Watchlist/'+ encodeURIComponent(wgUserName) +'">Watchlist</a></li><li><a href="/wiki/Special:Following">Followed pages</a></li>').insertAfter($('.AccountNavigation .subnav li a[data-id="preferences"]').parent); });
 * With this block of code, you can get rid of the code to add contributions and followed pages to the Account Navigation. This code adds all 3 at once. Rappy 03:40, June 23, 2011 (UTC)


 * That’s great Rappy! Does it not need a  statement of some sort at the end? Thanks! —  Spike  Toronto  04:48, June 23, 2011 (UTC)


 * Moncho does the addOnloadHook thing... I don't. The code is virtually the same they just differ slightly in how they load. If you want the code written to use the hook, I can change it over. Rappy 06:30, June 23, 2011 (UTC)


 * This is very interesting! What are the pros/cons of writing it to use the hook? Thanks! — Spike  Toronto  07:15, June 23, 2011 (UTC)


 * I think I read somewhere that if an addOnloadHook; fails, it causes the rest of the JS file to not load (or I am backwards) Monchoman said it, I believe and I hope he responds here. In the end, it's my habitual coding style to avoid the addOnloadHook; in favor of $(document).ready(function *shrug* Rappy 19:07, June 23, 2011 (UTC)


 * Yes, a fatal error in a function in  bubbles up to the   function, thus causing the error to terminate it. Or, in simple terms, if you put something in   and it breaks, it breaks the rest of the stuff in  . The reason why I still use it anyway instead of   is because I can't predict the running order of  .   starts at the top of the page and goes to the bottom, so if you want to be sure a function is run after another, put it underneath the first.   also requires jQuery, which has had loading problems in the past, and as such I avoid it (unless I'm being lazy). I think   waits 200ms before running it's functions, but you probably won't notice that - it's only a fifth of a second. And, for the record, that 200ms isn't the normal delay you see between when the page loads and when  your JS works, because the page hasn't actually loaded at that point and elements are still being registered to the DOM; were your JS to run in before that it would likely explode because it wouldn't find the elements it's looking for, as technically they don't exist yet.

Thanks for the explanations! WoW! I learned a lot from both of those responses. Would either of you mind coding with  so I can see how one is coded versus how the other is done? If it’s not too much trouble … :) Thanks! — Spike  Toronto  05:30, June 24, 2011 (UTC)

<pre style="margin-left:24px">function AddNavigationLinks { $('<li><a href="/wiki/Special:Contributions/'+ encodeURIComponent(wgUserName) +'">My contributions</a></li><li><a href="/wiki/Special:Watchlist/'+ encodeURIComponent(wgUserName) +'">Watchlist</a></li><li><a href="/wiki/Special:Following">Followed pages</a></li>').insertAfter($('.AccountNavigation .subnav li a[data-id="preferences"]').parent); } addOnloadHook(AddNavigationLinks);
 * To touch on what Moncho said... addOnloadHook; will load in that order and so will a $(function). Ordering is the same down the page. You can always just name a function and not addOnloadHook it... Define all your functions in your JS then have a $(function) at the bottom that loads them all. See the bottom of... WoW Wiki's JS. All functions on that page are simply defined and run as a whole (in the order specified) in the $(function) at the bottom. You can simply call the functions you want inside. To simplify, if you wanted to simply declare your function, you'd add...

<pre style="margin-left:24px">function AddNavigationLinks { $('<li><a href="/wiki/Special:Contributions/'+ encodeURIComponent(wgUserName) +'">My contributions</a></li><li><a href="/wiki/Special:Watchlist/'+ encodeURIComponent(wgUserName) +'">Watchlist</a></li><li><a href="/wiki/Special:Following">Followed pages</a></li>').insertAfter($('.AccountNavigation .subnav li a[data-id="preferences"]').parent); }
 * to your JS file without the addOnloadHook;. The function will be declared, but never run. Then at the bottom of your page, you can do...

<pre style="margin-left:24px">$(function {	AddNavigationLinks;	ThisFunctionToo;	AndDontForgetThisFunction; });
 * This tells the JS file to run those 3 functions when the page loads in that particular order... regardless of the order the functions were declared in the JS file. $(function) is the same as $(document).ready(function ) which means "only load this when the document is ready" ... essentially the same as an addOnloadHook;. What it boils down to in the end, I think, is simply preference. $(function) is less overall code and, to me, looks cleaner in the file. Hope some of this helps. Rappy 16:18, June 24, 2011 (UTC)


 * Thank you so much for this Rappy! I’m sorry I haven’t responded sooner, but this is a lot of stuff and I want to spend more time working on it before I follow up with you. WoW! It’s like having my own private tutor! — Spike  Toronto  04:07, June 27, 2011 (UTC)


 * You're absolutely right! I should start charging for lessons! You're bill is in the mail. Rappy 04:09, June 27, 2011 (UTC)


 * I should warn you, it’s notoriously difficult to collect on international debts. Why don’t you bill me, and then write it off as uncollectable, or bad, debt?! Smiley.png — Spike  Toronto  04:19, June 27, 2011 (UTC)

Thanks Rappy! It makes sense now. I think I prefer the  method. I am more likely to realize that a script in the JS files is broken if it causes everything after it to also not load because that means a lot of scripts failing to load, which I should notice! Also, I like to place each script in a separate sub-page in the MediaWiki namespace and then import them into the appropriate MediaWiki JS files. It just seems to fit my brain better to have each thing load right after it is defined. Finally, when I want to stop a script from loading, I need only place a  in front of the import statement. Thanks again for the lesson! Of course, this does not mean that I am any closer to being able to write my own code … — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  21:52, July 10, 2011 (UTC)


 * The thing with that is... you can do it either way. If you load all your JS with my method, you can easily call the function at the bottom by name. This is the same as your addOnloadHook; method. I despise loading code into JS the way you do because of the placement of files. Loading code is good if it's in a central location and the code is loaded several places (IE, dev.wikia.com code that is loaded on a LOT of wikis). Just having the code in a separate file and imported into another, to me, isn't beneficial. It requires the editor to view/edit that separate file individually to achieve what could have been edited with one edit in the JS file. I'd only do it your way if it was sensitive code and I'd hide it in a User JS file so it's not editable.


 * You can place code like:

<pre style="margin-left:24px">$(function {	WikiaRailReoder;	AddNavigationLinks;	ThisFunctionToo;	AndDontForgetThisFunction; });
 * like I mentioned above and still be able to // comment them out in the main file. All in all, it's a manner of preference as one method isn't superior to the other. As they say, to each their own. Rappy 23:09, July 10, 2011 (UTC)


 * Yeah, but you cannot comment it out with only one set of // if the entire script is in the main JS file. Also, by having the scripts in the sub-files, it makes the main file so neat and tidy instead of being cluttered … like my brain … Thanks! — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  05:34, July 12, 2011 (UTC)

<pre style="margin-left:72px">$(function {	WikiaRailReoder;	AddNavigationLinks; //	ThisFunctionToo;	AndDontForgetThisFunction; });
 * ThisFunctionToo; isn't loaded now =) Rappy 05:41, July 12, 2011 (UTC)


 * Oh, I see you what you mean! Thanks! Now how about taking a look at this … towards the end of the thread … :) Thanks! — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  06:10, July 12, 2011 (UTC)

SigReal for All Wikis
If I were to do what you said at User:Monchoman45/SigReal and I were on the Hogwarts Roleplay Wiki and used, would it use the signature set up using your instructions? Thanks, <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  22:53, June 21, 2011 (UTC)


 * As long as you have the username subpages on that wiki then yes.--


 * So you created a subpage for your sig on every wiki you edited on? <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  23:22, June 21, 2011 (UTC)


 * Yes.--


 * And if I were to do it the way Monchoman45 said to do it on his subpage, would I have to name it /SigReal? <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  23:26, June 21, 2011 (UTC)


 * You can name it whatever you want, as long as you change the template call on the /Sig page.


 * Thanks! <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  23:15, June 23, 2011 (UTC)

monobook buttons
I installed the js for swiching between monobook and vector but can you make the change permanent until you click on a button again cuz after you go to another page it switches to oasis. Also can you do if then statements in js. Thanks--<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  03:03, June 22, 2011 (UTC)


 * Making the change permanent is much more complicated; if you want to make it permanent you should just change it in your preferences. As for if statements in JS, this is the syntax:

<pre style="margin-left:24px;"> if(condition) { Code if true (or then) } else { Code if false }
 * Look up the code for setCookie and getCookie (I believe Moncho has it in his global.js) and set a cookie for the option when the button is clicked. Then have your code reference that cookie to find out which skin to display. Rappy 20:03, June 22, 2011 (UTC)
 * Knowing which skin to display is the easy part - it's making sure it always displays that's hard.
 * Knowing which skin to display is the easy part - it's making sure it always displays that's hard.

Disabling Visual Mode
I'm afraid that after the new editor graduates from Wikia Labs - Wikia will roll it out globally!!!! And anyways if they also ignore our feedback!!!!!! So just incase they roll it out globally. Is there some js or css codes that can disable it? Since I have been editing Wiki Farms and Wikmedia in 2008 (wasn't in Wikia til' July 2009) and it's only Wikia that has RTE and Visual thingy. And RTE is ok because source mode isn't affected at all. But the VISUAL MODE > They dared to touch source mode and it was a disaster for them. So again, is there css/js codes to disable visual mode just incase Wikia rolls it out globally?

-- 10:17, June 22, 2011 (UTC)


 * NC: Can I point out that source mode can still be used with the new editing interface? It's just the position of some buttons and features that have changed... otherwise it's fundamentally the same. The 888th Avatar   (talk)  10:25, June 22, 2011 (UTC)


 * It is functionally different by Wikia's definition of function. Source mode works the same, yes, but there are other concerns to be addressed. Yes, it is possible to disable with JS, but editing windows are not simple and it will take time to get it to work.


 * You know, I find the new editor’s source mode to be closer to editing in Monobook than the current Oasis editor’s source mode. For instance, in Monobook, our wiki copies Wikipedia by having the text edit area for fully protected pages (i.e., those that only Administrators can edit) be red (see above). Well, it never worked in the current Oasis editor. But, it seems to be working in the new Oasis editor. What worries me is this talk in the new editor blog in which it is said that they are going to be working on the system messages that the system uses. We have a great set of system messages in our wiki’s MediaWiki namespace, some of which already do not appear in the current Oasis editor. The last thing we want is to have even more of them disabled. — Spike  Toronto


 * I'm talking about disabling it on a whole Wiki for Oasis. And I don't use monobook.
 * -- 03:24, June 23, 2011 (UTC)


 * If you disable it on the whole wiki via CSS/JS in the MediaWiki namespace, you would be violating Wikia’s Terms of Use. To disable it for yourself, there is a tickbox in Special:Preferences. Under the Editing tab, untick the box labelled “Enable Rich Text Editor.” — Spike  Toronto  04:39, June 23, 2011 (UTC)


 * It ain't violating TOU due to the fact that LyricWiki did it.
 * -- 07:53, June 23, 2011 (UTC)
 * Again, how do I disable it when Wikia rolls it out globally?
 * -- 10:00, June 23, 2011 (UTC)

I have already disabled RTE for me and I use source mode but the new editor still appears for me on some wikis. So no one cannot disable the editor by checking/unchecking "Enable RTE" on preference.
 * Disabling the RTE for the whole wiki with JS is a ToU violation. LyricWiki got it that way with Special:Contact. You can disable it for yourself, but the code is complex as the edit window is generated by PHP.


 * Hmm.. If that is so then I just sent it on Special:Contact for permission, just sent it a while ago, just needs a reply later.
 * -- 02:14, June 24, 2011 (UTC)


 * You should first establish that there is a consensus on your wiki to disable the RTE. It cannot be just because one user does not like it. For those wikis that had it disabled by Wikia Staff, it was because they were actually experiencing wiki-wide technical problems with the RTE. — Spike  Toronto  05:25, June 24, 2011 (UTC)


 * It's not because I dislike it, it's because it's best for Songpedia, most articles on Songpedia can't be edited in RTE, which makes RTE useless, also, editing in RTE is very hard on an average Songpedia page, and even if you could edit the page with RTE, the whole page will get messed up. Oh and I just got notified that wikis without RTE will have source mode in visual edition, but not the visual RTE.
 * -- 08:45, June 24, 2011 (UTC)


 * Sounds like you should have no problem making a case for turning off the RTE wiki-wide on your wiki. We have activated the new editor on our wiki and the source mode is great! You’ll like it. — Spike  Toronto  09:25, June 24, 2011 (UTC)

Featured Wikian
You have a nomination to be a Featured Wikian here and I wanted to reach out and see if you'd be willing to answer a few questions. Check out a sample interview here, and email me at sena at wikia-inc.com if you're interested in participating. Thanks! <font color="Blue">Sena 17:42, June 22, 2011 (UTC)

SigReal for All Wikis/New Question
Can you just add w: before SUBST: in your preferences so you don't have to create the subpage on every wiki you edit on. Thanks, <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  23:50, June 23, 2011 (UTC)


 * No, you're not allowed to transclude your sig interwiki, because it's a server strain.


 * Is there any other way to do it? <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  23:09, June 24, 2011 (UTC)


 * No, you have to copy the code to each wiki you go to.--


 * Do you have to make both a /SigReal and a /Sig on each wiki you go to or just /Sig on every wiki but Central. (making a /Sig on every wiki you go to but make both a /SigReal and a /Sig on Central only) <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  20:23, June 26, 2011 (UTC)


 * You need both on each. There's no way around it, unfortunately.

Your js
I took a look at your js bu it was kinda confusing. Can you please tell me what you have on there so I can see if I want any features. You don't have to but it would be greatly appreciated. Thanks, <span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  00:39, June 24, 2011 (UTC)


 * I have a lot of different scripts in there for a lot of different reasons - scripts of note include my experimental bot script and skin, my width increase, extra buttons, and custom rollbacks. I can explain certain functions if you'd like, but the file as a whole is fairly complicated.


 * Could you explain the custom rollback's code and how the rollbacks are custom. Also can I help betatest your bot script. Thanks,--<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  02:13, June 24, 2011 (UTC)


 * The script, for reference:

<pre style="margin-left:72px;"> function CustomRollbacks { var Buttons = [{ text: 'spam', title: 'Revert spam', summary: 'Reverted spam', loadtalk: false }, {               text: 'vandalism', title: 'Revert vandalism', summary: 'Reverted vandalism', loadtalk: false }, {               text: 'null', title: 'Revert with no summary', summary: ' &bot=1', //This one has no summary, and flags it as a bot edit loadtalk: false }];       var list = document.getElementsByTagName('span'); for(i in list) { if(list[i].className == 'mw-rollback-link') { var link = list[i]; var rollback = link.innerHTML; for(j in Buttons) { var customlink = document.createElement('span'); customlink.innerHTML = rollback; customlink.className = 'customrollback'; //we do this to avoid an infinite loop, because when we insert a into the DOM, the list variable includes it                               customlink.getElementsByTagName('a')[0].title = Buttons[j].title; customlink.getElementsByTagName('a')[0].href += '&summary=' + Buttons[j].summary; customlink.getElementsByTagName('a')[0].innerHTML = Buttons[j].text; if(Buttons[j].loadtalk == true) {customlink.getElementsByTagName('a')[0].className = 'loadtalk';} if(urlQuery('action') == 'history') { link.parentNode.insertBefore(customlink, link.nextSibling); customlink.outerHTML = ' | ' + customlink.outerHTML; }                               else { link.parentNode.appendChild(customlink); customlink.outerHTML = ' ' + customlink.outerHTML; }                       }                }        }        for(i in list) { //why another one of these? we're fixing the class that we set to avoid an infinite loop if(list[i].className == 'customrollback') { list[i].className = 'mw-rollback-link'; }       }        /* Grunny's function for opening up a user's talkpage when rollbacking (http://community.wikia.com/wiki/User:Grunny) */ $( '.mw-rollback-link .loadtalk' ).click( function (e) {               e.preventDefault;                var $rblink = $( this );                $.ajax( { url: $rblink.attr( 'href' ), success: function { var    user = $rblink.attr( 'href' ).replace( /.*[&?]from=([^&]*).*/, '$1' ).replace( /\+/g, '_' ), newurl = wgServer + wgArticlePath.replace( '$1', 'User_talk:' + user + '?action=edit&section=new' ); location.href = newurl; },                       error: function  { $rblink.text( function ( i, val ) {                                       return val + ' [failed]';                                } ); }               } );        } ); } addOnloadHook(CustomRollbacks);
 * The custom rollbacks have a special summary on them, different from the default summary.  is the list of custom rollbacks, the three I have are for spam, vandalism, and a blank summary. Each object in the array is a button, adding more objects would add more buttons. It works by taking each normal rollback, stealing the token, and pasting it again once for each button, with the summary appended to the end of the URL. The bottom piece is Grunny's function for preloading talk pages after rollbacking.
 * As for the bot script, you can use it, but be careful - it's still quite buggy. Adding  to your JS will enable it at Special:B3. It currently only accepts a skimpy code format which isn't documented, so I'll add instructions to it soon.

I inputted the custom rollbacks. So how do you use them. also how did you make a special page. Thanks, --<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  04:00, June 24, 2011 (UTC)


 * The rollbacks should appear next to the default rollback link. Clicking one will perform a normal rollback action, and leave the custom summary behind. If you have AjaxRC, you'll have to add the custom rollbacks to the callback array for them to show up. As for the special page, it doesn't actually exist - I used JS to replace the "No such special page" message with the bot interface.
 * Umm you lost me at Ajax. How do you add them? Thanks. Tell me if I'm bugging you<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  00:30, June 25, 2011 (UTC)
 * Umm you lost me at Ajax. How do you add them? Thanks. Tell me if I'm bugging you<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  00:30, June 25, 2011 (UTC)


 * Just the script should do. They should appear next to the normal rollback links.
 * Didn't see the links. Is it in a page's history or a user's contribs. Thanks,<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  01:11, June 25, 2011 (UTC)
 * What browser are you using? They should appear in RecentChanges, on history pages, on diffs, and in user's contribs.
 * Safari<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  01:13, June 25, 2011 (UTC)
 * Turns out not all browsers support the  property. Luckily,   should be equivalent in this case. I've updated the code above, try it again and see if they appear.
 * I don't see it. Could you check my code to make sure I copied it properly. Also could you post a screenshot of how the buttons look. Thanks,<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  01:46, June 25, 2011 (UTC)
 * It should work now, have you cleared your cache?
 * For Safari you just have to go to another page right<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  01:50, June 25, 2011 (UTC)
 * Reloading the page works for Safari, yes.
 * Nope, I've even done it only for my home wiki where I am an admin but it doesn't work. If you want to see if I've inputted the code properly go to http://39clues.wikia.com/wiki/User:Kangaroopower/wikia.js. <span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  02:35, June 25, 2011 (UTC)
 * You copied it correctly, so I don't know what's wrong. I think this is a browser compatibility issue, but unfortunately I don't have Safari on this computer. I'll check the functions I've used to see if I made any mistakes, but otherwise I don't know what to tell you.
 * ok. What browser do you use?<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  02:46, June 25, 2011 (UTC)
 * I use Chrome. It also works for me in Firefox.
 * Nope, I've even done it only for my home wiki where I am an admin but it doesn't work. If you want to see if I've inputted the code properly go to http://39clues.wikia.com/wiki/User:Kangaroopower/wikia.js. <span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  02:35, June 25, 2011 (UTC)
 * You copied it correctly, so I don't know what's wrong. I think this is a browser compatibility issue, but unfortunately I don't have Safari on this computer. I'll check the functions I've used to see if I made any mistakes, but otherwise I don't know what to tell you.
 * ok. What browser do you use?<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  02:46, June 25, 2011 (UTC)
 * I use Chrome. It also works for me in Firefox.
 * ok. What browser do you use?<span style="color:Navy;font-family:Comic Sans MS;background:Green;border:1px dashed; -moz-border-raiuds: 1em; color:Black;">kangaroopowah Talk  02:46, June 25, 2011 (UTC)
 * I use Chrome. It also works for me in Firefox.

I added both the Custom Rollback script and the Rollback with Ajax to my JS. The buttons appear just fine. But, when I press any of the three of them, I see the “throbber” display, after which it says failed. The two scripts are located here and are imported to my global.js. I am running IE8. Any ideas? Thanks! — Spike  Toronto  12:09, June 25, 2011 (UTC) P.S. Cool looking buttons, by the way. — Spike  Toronto


 * My bad. Change the Ajax script to this:

<pre style="margin-left:24px;"> /* Rollback with Ajax - stolen from Grunny (see above) */ function SetAjaxRollback { $('.mw-rollback-link').click(function(e) {		e.preventDefault;		var $rblink = $(this);		var href = this.getElementsByTagName('a')[0].href;		this.innerHTML = ' <img src="http://images2.wikia.nocookie.net/dev/images/8/82/Facebook_throbber.gif" style="vertical-align: baseline;" border="0" alt="Rollbacking..." />';		$.ajax({ url: href, success: function { $rblink.text(function (i, val) {return val + ' [success]';}); loadPageData; },			error: function { $rblink.text(function (i, val) {return val + ' [failed]';}); loadPageData; }		});	}); } addOnloadHook(SetAjaxRollback);
 * And they'll work just fine.


 * Works perfectly! i just can’t quite figure out the purpose of the null tab, the rollback with no explanation. In such an instance why would one not just use the regular rollback button and at least get the default edit summary? When I saw null, I thought it would mean that after the rollback, the system would not auto-save, permitting the user to enter his/her own edit summary. I guess I could change the tab to something else … like … NPA and then give it a summary … like … Intimidating behaviour/harassment … or some such. Thoughts? Ideas? Thanks again!! — Spike  Toronto  04:16, June 27, 2011 (UTC)


 * The null one also hides it (by default, at least) from RecentChanges. You can delete the space in the summary to give it a default summary, but still hide the edit.


 * Oh, wow! I did’t realize that that’s what it did. That’s neat! Thanks! — Spike  Toronto  14:05, June 27, 2011 (UTC)

Monchofy my code
So about a minute after you signed off IRC, this happened. Is there any way I can monchofy my code but so that it works for me and not anyone else like you have?--


 * The easiest way to do that is use "Godisme" instead of  in interface changes, because if someone else were to take your code, everything would link to your page instead of theirs. I use a cookie check on most of my  s, which means that none of them are ever used unless you have the function for toggling the cookie.

Background Image
Hi!

I got a problem. I'm trying to give a wikia-article on my wikia a background image. It does not work. It only shows the color.

The Code:

.WikiaArticle { background: url (http://images2.wikia.nocookie.net/__cb20110622182621/oprahwinfrey/images/d/da/Oprahshow.png) !important; background-repeat: no-repeat; background-position: top; background-color: #000; color: #fff; } You can find the full code here. You can find the fitting page here. Both Links are located on the Oprah Winfrey wiki.

Thank you for taking the time, and I hope you can help me out with this problem!

Oliver/Brickician.


 * You have two problems in your  line. First, you can't have a space between the parenthesis and , and second, you need quotes around the image url (  or  , as opposed to  ). You can also combine the other background properties into the first statement, like so:

<pre style="margin-left:24px;"> .WikiaArticle { background:#000 url('http://images2.wikia.nocookie.net/__cb20110622182621/oprahwinfrey/images/d/da/Oprahshow.png') no-repeat top !important; color:#fff; }
 * That will do it. For whatever reason, it seems to leave 2 or 3 pixels of padding on either side, which I believe is because the image is just barely too narrow. You can probably fix that with some quick photoshop, however.
 * Thank you so much! And thanks for the note, I thought the width of the main-article was 673 xD Thanx! Brick
 * Thank you so much! And thanks for the note, I thought the width of the main-article was 673 xD Thanx! Brick

custom rollbacks
Ok so as you know the rollbacks don't work here but when I went to wikipedia it worked there.(I didn't do anything to my wikipedia account's js except to add twinkle-which might have caused it) Any ideas? <span style="background-color:Saffron; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); border:1px solid #eb0; -moz-border-radius-topleft:1ex; border-top-left-radius:1ex; -moz-border-radius-bottomleft:1ex; border-bottom-left-radius:1ex; border-right:0;"><span style="border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-topleft:1ex; -moz-border-radius-bottomleft:1ex;">  Kangaroopowah  <span style="background-color:Saffron; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:Green; border:1px solid #eb0; border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-bottomleft:1ex; -moz-border-radius-topleft:1ex;"> Talk   <span style="border:1px solid #eb0; border-left:0; border-top-right-radius:1ex; border-bottom-right-radius:1ex; -moz-border-radius-bottomright:1ex; -moz-border-radius-topright:1ex; background-color:Green; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:Green"> 20:37, June 26, 2011 (UTC) Also do you know how to delete the last yellow line in my sig. Thanks, <span style="background-color:Saffron; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); border:1px solid #eb0; -moz-border-radius-topleft:1ex; border-top-left-radius:1ex; -moz-border-radius-bottomleft:1ex; border-bottom-left-radius:1ex; border-right:0;"><span style="border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-topleft:1ex; -moz-border-radius-bottomleft:1ex;">  Kangaroopowah  <span style="background-color:Saffron; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:Green; border:1px solid #eb0; border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-bottomleft:1ex; -moz-border-radius-topleft:1ex;"> Talk   <span style="border:1px solid #eb0; border-left:0; border-top-right-radius:1ex; border-bottom-right-radius:1ex; -moz-border-radius-bottomright:1ex; -moz-border-radius-topright:1ex; background-color:Green; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:Green"> 20:41, June 26, 2011 (UTC)


 * Use this:

<pre style="margin-left:24px;"> <span style="background-color:Saffron; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); border:1px solid #eb0; border-radius:1ex; border-right:0;"><span style="border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-topleft:1ex; -moz-border-radius-bottomleft:1ex;">  Kangaroopowah  <span style="background-color:Saffron; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:Green; border:1px solid #eb0; border-radius:1ex;"> Talk

Header categories
Excuse me, my wiki, Hiddenlegacipedia has a problem. Two of it's categories are appearing on the top bar and I need to get them off.

CaiusElite 02:52, June 27, 2011 (UTC)CaiusElite


 * The top bar is stored in MediaWiki:Wiki-navigation. The two lines you want to remove are  and.

Reactivation of account Ngebendi.
Monchoman,

Thank you for your answer to my query to Dopp, though I must apologize for making it useless. After posting on Dopp's talk page, I realized that I acted out of punctured instead of a real desire to rejoin the wiki community. You'll agree with me, I hope, that this is a poor motivation for doing so. While appreciating your taking the time to answer, I can't take up on your suggestion. Thank you again, and best. Ngebendi

Your hacks
What do your hacks do? Please answer on my talkpage. Thanks!


 * My hacks add some extra functionality to chat, including slash commands (like  and  ). Ultimately, they will be able to create multiuser private chats, and other interesting features. Currently, however, they don't work, because I have to rework them for the new version of chat.

List of wikis
Is it possible to sort those wikis in order of activities, and choose wikis which have a word in their name as :

1. math

2. penguin

Zompenguin 06:56, July 1, 2011 (UTC)


 * No, the list can't be sorted. You can ctrl+f for certain terms to find them in the list, or search those terms here on Central to find wikis on those topics.

Moving Chat Box Down on the Hogwarts RPG
Hi, I enabled the chat on the Hogwarts RPG, and since we have an external chat also, we are going to use the Wikia Chat for Out of Character and the External Chat for In Character. The problem is, their links aren't close together. Can you create a code that I can put in Common.js to move the Wikia Chat box down to above the Community Message on the Wiki Activity? Thanks, Head.Boy.Hog   (Talk To Me)  13:13, July 1, 2011 (UTC)


 * This will do it:

<pre style="margin-left:24px"> function MoveChatRail { if($('.CommunityCornerModule').length > 0) { var module = $('.ChatModule').remove; $('.CommunityCornerModule').before(module); } }

addOnloadHook(MoveChatRail);


 * Thanks! Head.Boy.Hog   (Talk To Me)  15:32, July 1, 2011 (UTC)


 * Do you think you could create a code that would make something like a create box right under it and when you click it, it would link to http://xat.com/HogwartsRPGWiki and it would say "Join XAT Chat"? (Something that would fit in Common.js? Thanks, Head.Boy.Hog   (Talk To Me)  15:40, July 1, 2011 (UTC)

Chat .js
Hi Monchoman its me again! I just wondered if you know about a chat javascript that can help Ping the user similarly to on IRC? Thanks --N7 Talk 09:25, July 2, 2011 (UTC)


 * Yep, that's part of my chat hacks. Just put the script here in your wikia.js or global.js, and click the "join chat" button in the rail. In the header on the left, you should see something that says "ping phrases". You can add anything to that menu, and it'll ping you if someone says it. Currently, the taskbar flash is borked, but the noise should work. You also get a bunch of slash commands which you can get a list of with.


 * Awesome, got any other working chat hacks you can recommend? --N7 Talk 15:58, July 2, 2011 (UTC)


 * Nope, that's it. As far as I know no one else has tried changing stuff in chat, and that's the only script I have.


 * ah, ok thanks bro! You sir are a legend! :D --N7 Talk 16:04, July 2, 2011 (UTC)

Wouldn't it be awesome
.....if you create a blog on your chat hacks,..new users would love to have 'em,since it's now on the labs..just telling by the way:)


 * I'd have to finish them first, but I'll definitely keep it in mind.

Unit Converter
Hello again Monchoman45! Thanks for your help with the unit converter earlier today! However, I'd like to ask you another question. Is there a way to round the resulting number to, say, one digit? I've been pouring through the templates on Wikipedia, trying to figure out how to do this, but I haven't yet. May you please help me?

You can see the template I'm editing here. MontagnaMagica|Talk 22:06, July 3, 2011 (UTC)


 * Use, where "converter" is what I gave you earlier.

I still can't figure it out. Do I add that code to the template page, or to the article? MontagnaMagica|Talk 23:56, July 3, 2011 (UTC)


 * To the template page.


 * Sorry, I still can't get it. Can you just edit the page yourself please? Template:Meters MontagnaMagica|Talk 00:36, July 4, 2011 (UTC)


 * Nevermind, problem solved. Thank you! MontagnaMagica|Talk 00:53, July 4, 2011 (UTC)

Thanks
Thank you. <font color="Green">The Kool Egg... <font color="Orange">That Rox... <font color="Blue">That Rox Too Well 					 13:14, July 5, 2011 (UTC)

Sig Help
ok what am i doin wrong it worked at first with a minor problem but now it dose not work at all. please check here under the header Woolva. thats my sig now for some reson but when this did all work before the time strap you see on my user page there was also next to to custom sig when i tried 4 titles which i found weird. User:Woolva/Sig and User:Woolva/SigReal can you please take a look for me thanks. also your notice it by my titles now > 22:06, July 5, 2011 (UTC)


 * If you want help, you have to post your code here as that wiki is using the new profile set up, not allowing anyone but you to edit or see the code.--


 * index.php?title=User:Woolva/Sig&action=raw&ctype=text/css (SigReal) - the edit action may be broken, but MediaWiki is totally fine with turning any page into CSS, for whatever reason.
 * On to the problem at hand; I don't see what's wrong. The sig on your wiki appears fine, but here it doesn't. What's wrong with the one on your wiki?

oo ok sorry. i tried adding it to my user page here as well it seems to work now that i removed the content of explaining how to set the signature up :s weird. well now it shows with the wikia standard timestrap as well ie > ( 22:28, July 5, 2011 (UTC) )

SigReal code > <span style="background-color:#000 ; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); border:1px solid #0f0; -moz-border-radius-topleft:1ex; border-top-left-radius:1ex; -moz-border-radius-bottomleft:1ex; border-bottom-left-radius:1ex; border-right:0;"><span style="border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-topleft:1ex; -moz-border-radius-bottomleft:1ex;">  Woolva  <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#FFF; border:1px solid #0f0; border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-bottomleft:1ex; -moz-border-radius-topleft:1ex;"> Talk  <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff">  Contribs  <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff; border:1px solid #0f0;">  Empires &amp; Allies   <span style="border:1px solid #0f0; border-left:0; border-top-right-radius:1ex; border-bottom-right-radius:1ex; -moz-border-radius-bottomright:1ex; -moz-border-radius-topright:1ex; background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#0f0"> - ^ Copyed From the wikia i work on not here ( why the color is diff ) - - Sig Code > - - Pref Code > - Thanks.

Update as i was in a edit clash. ok what about this separate issue with the standard wikia timestrap aswell as the timestrap in the sigReal ? Thanks.


 * Use three tildes instead of four, and that will go away.

Ahhh Thanks

More sig help
Hello again. I tried to make my signature like yours, but every time I leave a message on a line that is too long, the signature breaks in half. Look here for an example. Please reply on my talk as well as I am on various wikis. right before ?
 * Use &amp;nbsp; where you'd want a space or wrap the entire signature in  . Rappy 23:11, July 5, 2011 (UTC)
 * I want the whole thing to stay together...
 * Per Rappy, instead of, use.
 * I did but for some reason, it isn't working. If you look at that page I linked, you'll see that it is still breaking up. Any other ideas?
 * You need to use  for the space in the timestamp as well, and you can't have a hyphen in  . You can use   there too, or just squish it together with no space.
 * Why can't you just add

Clock on the Hogwarts RPG
Hi Monchoman, I noticed that Runescape Wiki had a clock above the Random Page and Wiki Activity buttons and wanted one on the Hogwarts RPG Wiki, so I went to their Common.js and copied:

function setCookie(name, value, expires) { var d = new Date; d.setDate(d.getDate + expires); document.cookie = name + '=' + escape(value) + ';path=/'; }

to the Common.js on the Hogwarts RPG Wiki. I then saved the page and bypassed the cache. Why isn't the clock showing? Thanks in advance for your help, Head.Boy.Hog   (Talk To Me)  22:59, July 7, 2011 (UTC)


 * That is not the code for a clock. That is a cookie function. You want the code at w:c:runescape:MediaWiki:Common.js/displayTimer.js.--


 * I redid it using the code at w:c:runescape:MediaWiki:Common.js/displayTimer.js but it still isn't working. Head.Boy.Hog   (Talk To Me)  23:46, July 7, 2011 (UTC)


 * Okay, I asked another user if he saw it and he said he did so I asked him what browser he was using and he said he was using Explorer. I am using Firefox so something is wrong. Head.Boy.Hog   (Talk To Me)  00:19, July 8, 2011 (UTC)

Further to this, I would like to add the following to our clock code on our wiki: if (skin == 'oasis') { var timerParent = document.getElementById( 'WikiHeader' ).getElementsByTagName( 'div' )[0]; } if (skin == 'monobook') { var timerParent = document.getElementById( 'p-personal' ).getElementsByTagName( 'ul' )[0]; } The clock code is located at w:c:admintools:MediaWiki:Monobook.js/displayClock.js. Currently, it only works in Monobook. But, with my limited JS knowledge, it seems to me that the if/then skin statements could be adapted to our current code making it work in both skins. I find our current code shorter and simpler than RuneScape’s and so would like to stick with it. However, I like very much their placement of the time over the random page and wiki activity buttons. Any suggestions? Thanks! — Spike  Toronto  09:54, July 8, 2011 (UTC)

<pre style="margin-left:24px"> function liveClock { var link = wgServer + wgScriptPath + '/index.php?title=' + encodeURIComponent(wgPageName) + '&action=purge'; if (skin == 'monobook') { $('#p-personal .pBody ul').append(' <a href="'+link+'"></a></li>'); } else if (skin == 'oasis') { $('#WikiaPage #WikiHeader div.buttons').prepend(' <a href="'+link+'"></a> '); }	$('#utcdate').css({fontSize: 'larger', fontWeight: 'bolder'});

showTime; } addOnloadHook(liveClock);

function showTime { var now = new Date; var hh = now.getUTCHours; var mm = now.getUTCMinutes; var ss = now.getUTCSeconds; var dd = now.getUTCDate; var months = 'Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split(' '); month = months[now.getUTCMonth]; var year  = now.getUTCFullYear; var time = ( hh < 10 ? '0' + hh : hh ) + ':' + ( mm < 10 ? '0' + mm : mm ) + ':' + ( ss < 10 ? '0' + ss : ss ) + ', ' + ( dd < 10 ? '0' + dd : dd ) + ' ' + month + ' ' + year + ' (UTC)'; $('#utcdate a').text(time); window.setTimeout(showTime, 1000); }
 * Rappy 09:11, July 12, 2011 (UTC)


 * It works! It looks beautiful!! Thanks Rappy!! [[file:smiley.png|14px]] — <font color="#DC143C" face="Garamond" size="3">Spike <font color="#000000" face="Garamond" size="3">Toronto  20:34, July 12, 2011 (UTC)

Chat hacks
How can i use your chat hacks on the Ben 10 wiki? Can you give me instructions like, give me a link to the code and giving me a link to place the code on the Ben 10 wiki? Thanks! TheBen10Mazter 19:37, July 10, 2011 (UTC)


 * Put this here, clear your cache, and then click the "join chat" button in the sidebar. It may or may not work in FF5, which as far as I know is a browser issue.
 * I don't think it worked, on the Ben 10 wiki, does there have to people on chat? TheBen10Mazter 13:34, July 11, 2011 (UTC)
 * No, you'll know it's working if you see "ping phrases" in the top left hand corner next to the header.
 * No, you'll know it's working if you see "ping phrases" in the top left hand corner next to the header.


 * Then it did not work. TheBen10Mazter 13:37, July 11, 2011 (UTC)


 * Make sure you've cleared your cache. What browser are you using?
 * I cleared my cache and i am using IE, version 8. TheBen10Mazter 14:51, July 11, 2011 (UTC)
 * I cleared my cache and i am using IE, version 8. TheBen10Mazter 14:51, July 11, 2011 (UTC)

Problem with Template:Done on the Hogwarts RPG
Hi Monchoman, I was asked why Template:Done on the Hogwarts RPG made anything you wrote after the template into a code box. (See this.) Could you please help? Thank you in advance, Head.Boy.Hog   (Talk To Me)  12:34, July 11, 2011 (UTC)


 * You have a line break before the, which technically is part of the template. So this:

<pre style="margin-left:24px;"> ✅ text after template
 * evaluates to:

<pre style="margin-left:24px;"> Done text after template
 * Any line beginning with a space appears in a code box, thus any text after a the template looks like that. You can fix this by moving the  on to the same line as.


 * Thank you so much! Head.Boy.Hog   (Talk To Me)  13:42, July 11, 2011 (UTC)

Signature Code
Hi Monchoman, I decided to use the sig you use and I though it would come in handy if I knew the code for the actual sig, not the instructions to make the sig, but the actual sig. Thanks,


 * This is the code formatted:

<pre style="margin-left:24px;"> <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); border:1px solid #eb0; -moz-border-radius-topleft:1ex; border-top-left-radius:1ex; -moz-border-radius-bottomleft:1ex; border-bottom-left-radius:1ex; border-right:0;"> <span style="border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-topleft:1ex; -moz-border-radius-bottomleft:1ex;"> &amp;nbsp; Head.Boy.Hog &amp;nbsp; <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff; border:1px solid #eb0; border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-bottomleft:1ex; -moz-border-radius-topleft:1ex;"> &amp;nbsp; Talk &amp;nbsp; <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff"> &amp;nbsp; Contribs &amp;nbsp; <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff; border:1px solid #eb0;"> &amp;nbsp; Hogwarts RPG &amp;nbsp; <span style="border:1px solid #eb0; border-left:0; border-top-right-radius:1ex; border-bottom-right-radius:1ex; -moz-border-radius-bottomright:1ex; -moz-border-radius-topright:1ex; background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#eb0"> &amp;nbsp;&amp;nbsp;


 * How do you add the date?


 * With the  parser, which you can read about here.


 * So all I do is add to the end of the code?


 * I don't follow. Why would you add that to the end if the timestamp is already in the sig?


 * We use template sigs on the RPG and most of us have multiple sigs so I'd like to create a new sig using that.


 * Ah, I see. Yea,  will timestamp it just like it is on this sig. You can mix and match any other letters as well to change the format of the date.


 * Thank you so much! I hope you win the Featured Wikian thing.


 * So will the following work?

<span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); border:1px solid #eb0; -moz-border-radius-topleft:1ex; border-top-left-radius:1ex; -moz-border-radius-bottomleft:1ex; border-bottom-left-radius:1ex; border-right:0;"> <span style="border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-topleft:1ex; -moz-border-radius-bottomleft:1ex;"> &amp;nbsp; Head.Boy.Hog &amp;nbsp; <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff; border:1px solid #eb0; border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-bottomleft:1ex; -moz-border-radius-topleft:1ex;"> &amp;nbsp; Talk &amp;nbsp; <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff"> &amp;nbsp; Contribs &amp;nbsp; <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff; border:1px solid #eb0;"> &amp;nbsp;&amp;nbsp; <span style="border:1px solid #eb0; border-left:0; border-top-right-radius:1ex; border-bottom-right-radius:1ex; -moz-border-radius-bottomright:1ex; -moz-border-radius-topright:1ex; background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#eb0"> &amp;nbsp;&amp;nbsp;

(unindent) No, the  will cause problems. That's why I used a parameter for my sig; it's a limitation of MediaWiki.


 * So the following will work?

<span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); border:1px solid #eb0; -moz-border-radius-topleft:1ex; border-top-left-radius:1ex; -moz-border-radius-bottomleft:1ex; border-bottom-left-radius:1ex; border-right:0;"> <span style="border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-topleft:1ex; -moz-border-radius-bottomleft:1ex;"> &amp;nbsp; Head.Boy.Hog &amp;nbsp; <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff; border:1px solid #eb0; border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-bottomleft:1ex; -moz-border-radius-topleft:1ex;"> &amp;nbsp; Talk &amp;nbsp; <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff"> &amp;nbsp; Contribs &amp;nbsp; <span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff; border:1px solid #eb0;"> &amp;nbsp;&amp;nbsp; <span style="border:1px solid #eb0; border-left:0; border-top-right-radius:1ex; border-bottom-right-radius:1ex; -moz-border-radius-bottomright:1ex; -moz-border-radius-topright:1ex; background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#eb0"> &amp;nbsp;&amp;nbsp;


 * It didn't work. What will?


 * The  has to be in your preferences. Otherwise, the time will either change every time someone edits the page, or be exactly the same on every one of your sigs.


 * is the code for my sig in my preferences.
 * Yep, you need it like that for it to display correctly.


 * But I wouldn't sign with, I'd sign with  . Would it still work?


 * Unfortunately not, as the timestamp is a parameter. If you don't sign with the tildes, the timestamp won't show up. Everything else will be fine, though.