Wikia - creating communities
You can set global CSS and JS on Wikia by editing special pages. Any changes you make will be loaded on any Wikia wikis you log into.
How to set it up
On Central Wikia, you can edit Special:Mypage/global.css and Special:Mypage/global.js.
These two pages act similar to site-specific personal CSS and JS files, but every Wikia references them.
Technical info
- The files are loaded for every skin.
- If you want to code JavaScript only for a specific skin, make use of the
skin variable in JavaScript, where every wiki stores its skin name.
- The CSS is loaded after the main MediaWiki CSS, but before the site specific CSS, so if you want to overwrite a wiki's custom CSS, make use of the !important property.