User:Rappy/global.js

$('.WikiaHeader nav > ul > li + li').remove; $('.WikiaHeader nav > ul').append($(' ').hide); if ($('.editsection').length && wgDB !== "aion") $('.editsection a:last-child').before('[').after(']').text('Edit'); $(document).ready(function {   $('.mainpage #WikiaPageHeader div:first').append(' Upload Image ');    $('fieldset div').addClass('test').css('bottom','-10px');    $('a[data-id="wikiactivity"]').attr({title: 'Recent Changes',href: '/wiki/Special:RecentChanges'}).html('Recent Changes').clone.appendTo('ul.tools').wrap('').removeClass('wikia-button secondary');    $('.WikiaFooter .toolbar .tools').css('float','right');    $('#wpSave').attr('value','Save changes');    $('a[data-id="move"]').html('Move');    $('.tabs > li > a[title="Special:Following"]').attr({href: '/wiki/Special:Watchlist',title: 'The list of pages you are monitoring for changes [l]',accesskey: 'l'}).text('Watchlist'); $('a[data-id="editprofile"]').html('Edit'); if ($('#WikiaSearch').length) { $('#WikiaSearch').appendTo('#mysearch').attr('style', 'padding-left:15px; margin-top:-3px; color: ' + $('body').css('color')).show; $('#mysearch').show; $('#WikiaHeader nav ul').append('Aion WikiCommunity'); }   $('#WikiaSearch input:first').addClass('mysearch'); $('#WikiaSearch button').addClass('mysearchbutton');

// $('.WikiHeader .shadow-mask').css({'backgroundColor': $('body').css('backgroundColor'),'borderTop': '1px solid ' + $('#WikiaPage').css('borderTopColor'),'borderBottom': '1px solid ' + $('#WikiaPage').css('borderTopColor')}).show; $('.AccountNavigation .subnav li:first').append('wikia.css<a href="' + wgServer + '/wiki/Special:MyPage/wikia.js" data-id="myjs">wikia.js</a></li><a href="http://community.wikia.com/wiki/Special:MyPage/global.css" data-id="mygcss">Global.css</a></li><a href="http://community.wikia.com/wiki/Special:MyPage/global.js" data-id="mygjs">Global.js</a></li>'); // Adds a 'Back to page' link under the preview header when previewing an edit. if (wgAction == "submit") $('#WikiaEditBoxHeader p').clone.appendTo('#WikiaPageHeader:first-child'); });

// VSTF rollback/revert/delete importScriptPage('User:Joeyaa/wham.js','vstf');

// Quick preview importScriptPage('User:Quarenon/quickpreview.js', 'runescape'); // Mass Rollback importScriptPage('User:Quarenon/massrollback.js', 'runescape'); // Rollback Summary // importScriptPage('User:Grunny/rollbackSummary.js', 'firefly'); // PurgeButton PurgeButtonText = 'Purge'; importScriptPage('PurgeButton/code.js', 'dev'); // MediaWiki:VDAlite.js importScriptPage('User:Rappy_4187/VDAlite.js', 'community');

// WikiaRailCollapse // importScriptPage('User:The_last_username_left/WikiaRailCollapseButton.js', 'dev');