Admin Forum:Global.js or Common.js or Wikia.js ???

Depending on which parts of the help you read, you get the advice to edit either global.js, common.js or wikia.js to create site-wide changes for all users. Which one is it? Or are all of them used? If so, is there a load order?

And as a follow-up question: Which stylesheet creates site-wide changes for all users?

Pecoes 00:49, February 13, 2012 (UTC)


 * Global js is your own personal js file that you can make here on community central. It is js that will be loaded on every wiki you go to but only affects you. Special:MyPage/wikia.js is js that only effects you while using the wikia skin but on one wiki only. MediaWiki:Wikia.js is js that loads for all users on a wiki that use the Wikia skin. MediaWiki:Common.js loads for all users on a wiki regardless of what skin they use.--
 * Here's your handy guide:
 * MediaWiki:Monobook.js is for javascript that will load for all users on your wiki that use the monobook skin
 * MediaWiki:Common.js is for javascript that will load on either skin
 * MediaWiki:Wikia.js will load for all users using the default (Wikia) skin
 * User:Pecoes/wikia.js (or Monobook, common) will load only for you
 * On Central only, you can create User:Pecoes/global.js - which will load on all sites across Wikia, but only for you.
 * The same is true for .css, with the exception of Common.css, which only works in the monobook skin, you should use wikia.css for most things, but if you're adding site-wide CSS for infoboxes or something similar, you might also want to put the rule in monobook.css as well, especially if you know that there are users that use monobook on your wiki.
 * Hope that helps. --  Random Time  00:59, February 13, 2012 (UTC)


 * Thank you very much! To both of you! May I suggest to add that information at help.wikia.com? As it is you don't find anything at all when you search for either "wikia.js" or "common.js".


 * Pecoes 01:10, February 13, 2012 (UTC)