User:D-day/global.js

// Remove lightbox $(document).ready(function { $('#WikiaArticle').unbind('click.lightbox');  var a = document.getElementsByTagName("a");  for ( var t = 0; t < a.length; ++t ) {    var a2 = a[t];    var img = a2.getElementsByTagName("img");    if ( img[0] != null ) {      if ( a2.href.indexOf("images.wikia.com") != -1 ) {        var link = wgServer + '/wiki/File:' + a2.href.substring(a2.href.lastIndexOf('/') + 1);        a2.setAttribute('href',link);      }    }  } });

// AdvancedOasisUI by User:Porter21 at dev.wikia.com importScriptPage('AdvancedOasisUI/code.js', 'dev');

// SkinSwitchButton importScriptPage('SkinSwitchButton/code.js', 'dev');

// Purge importScriptPage('PurgeButton/code.js', 'dev')

// Rollback summary importScriptPage('User:Grunny/rollbackSummary.js', 'firefly');

// AjaxRC importScriptPage('AjaxRC/code.js', 'dev');

// Custom edit buttons if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",    "tagClose": "", "sampleText": "Insert text"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png", "speedTip": "Comment visible only for editors", "tagOpen": "", "sampleText": "Insert comment here"} mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/2/23/Button_code.png", "speedTip": "Code", "tagOpen": " ", "sampleText": "Insert code"}

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/1/16/Button_reflink_alternate.png", "speedTip": "References", "tagOpen": " ", "sampleText": "Insert a reference"}

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/8/8f/Button_poeme.png", "speedTip": "Poem", "tagOpen": " ", "tagClose": " ", "sampleText": "Insert a poem"}

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/5/58/Button_small.png", "speedTip": "Small", "tagOpen": " ", "tagClose": " ", "sampleText": "Small text"}

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://i1184.photobucket.com/albums/z323/chumpette/Duck_sign.png", "speedTip": "Duck signature", "tagOpen": "", "tagClose": "", "sampleText": ""} }

// Red link category $(function { $('.newcategory').addClass('new'); });

// Chat hacks importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

// DupImageList importScriptPage('DupImageList/code.js', 'dev');

// EditIntro importScriptPage('EditIntroButton/code.js', 'dev');