Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
//The importArticles statement is designed to combine multiple HTTP requests into a single data transfer, allowing multiple scripts to load and execute faster.
importArticles({
type: 'script',
articles: [
//HeaderLinks adds an icon to header tags. When these icons are clicked, the URL (on address bar) is altered to target that header.
'u:dev:HeaderLinks/code.js',
//PurgeButton adds a "Refresh" option to page controls.
'u:dev:PurgeButton/code.js',
//Enables usage of <tab> key on code pages (.js/.css)
'u:dev:TabKeyInserter/code.js',
//Re-enables user scripts (TabKeyInserter) on MediaWiki:Common.js and so on...
'u:dev:UnsafeScripts/code.js',
//Colors provides a list of the most important colors on the current page,
//and provides a bunch of functions for manipulating colors.
'u:dev:Colors/code.js'
]
});
page_dark = dev.colors.wikia.page;
// Skin Switch Button: Monobook (Wikipedia) <-> Oasis (Wikia) <-> wikiamobile
$( function () {
if ( !document.getElementById( 'ca-skins' ) ) {
if ( skin === 'oasis' || skin === 'wikia' ) {
$( '<li id="ca-skins"><a href="/index.php?title=' + encodeURIComponent( wgPageName ) + '&useskin=monobook">Monobook</a></li>' ).appendTo( '#WikiaBarWrapper > div.wikia-bar > div.toolbar > ul.tools' ); //#AccountNavigation
$( '<li id="ca-skins"><a href="/index.php?title=' + encodeURIComponent( wgPageName ) + '&useskin=wikiamobile">Mobile</a></li>' ).appendTo( '#WikiaBarWrapper > div.wikia-bar > div.toolbar > ul.tools');
} else {
$( '<li id="ca-skins"><a href="/index.php?title=' + encodeURIComponent( wgPageName ) + '&useskin=wikia">Oasis</a></li>' ).appendTo( '#p-cactions > .pBody > ul' ); $( '<li id="ca-skins"><a href="/index.php?title=' + encodeURIComponent( wgPageName ) + '&useskin=wikiamobile">Mobile</a></li>' ).appendTo( '#p-cactions > .pBody > ul' );
}
}
} );