Help:JavaScript and CSS Cheatsheet

This cheatsheet lists all the JavaScript and CSS files you can modify to enhance your favorite wikia and your general Wikia experience. The links to scripts and stylesheets below point to the wikia you're viewing this help page on.

Please be aware that edits to these files may not take effect instantly - you may need to wait a couple of minutes and clear your browser cache.

Stylesheets
The most common choice is highlighted:

Common.css
There is also MediaWiki:Common.css  which is automatically used for Monobook but not the main Wikia skin. So, if you want to use MediaWiki:Common.css to create rules for both the Wikia and Monobook skins, you have to load it into MediaWiki:Wikia.css with an @import rule:

/* Leave this import above everything else */ @import url("/load.php?mode=articles&only=styles&articles=MediaWiki:Common.css");

Make sure to clean up any old CSS in MediaWiki:Common.css before importing it, otherwise it may cause unexpected effects.

JavaScript
The most common choices are highlighted:

Caching issues
Every file you download from the Internet gets cached. Normally that's great because it reduces traffic both for your own device and for Wikia's servers, but it becomes a problem when it comes to testing design changes. It may take a several hours before your changes take effect - unless you use the following tricks:

More often than not, that will be enough, but - especially when you test your edits with a different browser - you will need to purge Wikia's caches as well. Go to the URL bar of your browser and append  to the URL like so:



needs to be rewritten to:



If nothing else seems to help, it might help to have a little patience. After a few hours each and every cache between you and Wikia will have updated.