User:Xd1358/global.js

importScriptPage('AjaxUndo/code.js', 'dev' ); importScriptPage('EditIntroButton/code.js', 'dev' ); importScriptPage('PurgeButton/code.js', 'dev'); importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('SearchGoButton/code.js', 'dev'); importScriptPage('MediaWiki:RedirectManagement/code.js', 'dev'); importScriptPage('MediaWiki:Rollback/code.js', 'dev'); importScriptPage('MediaWiki:Nuke/code.js', 'dev'); importScriptPage('AjaxBatchDelete/code.js', 'dev');

// Fix for Blogs in Monobook. By wikia:User:Ciencia Al Poder if (window.wgNamespaceNumber == 500) { if (jQuery.prototype.jquery == '1.3.2') { importScriptURI(stylepath+'/common/jquery/jquery-1.4.2.js?'+wgStyleVersion); importScriptURI(stylepath+'/common/jquery/jquery.json-1.3.js?'+wgStyleVersion); importScriptURI(stylepath+'/common/jquery/jquery.cookies.2.1.0.js?'+wgStyleVersion); importScriptURI(stylepath+'/common/jquery/jquery.dump.js?'+wgStyleVersion); importScriptURI(stylepath+'/common/jquery/jquery.wikia.js?'+wgStyleVersion); importScriptURI(stylepath+'/common/jquery/jquery-ui-1.7.2.custom.js?'+wgStyleVersion); importScriptURI(stylepath+'/common/jquery/jquery.timeago.js?'+wgStyleVersion); }	if (!window.ArticleComments) { importScriptURI(wgExtensionsPath+'/wikia/ArticleComments/js/ArticleComments.js?'+wgStyleVersion); importStylesheetURI(wgExtensionsPath+'/wikia/ArticleComments/css/ArticleComments.css?'+wgStyleVersion); importStylesheetURI(wgExtensionsPath+'/wikia/Blogs/css/Blogs.css?'+wgStyleVersion); } }

// Adds an "Oasis"-button to Monobook; by User:Tm_T function add_skin_tab {   var URL = wgServer + wgScript + '?title=' + wgPageName + '&useskin=wikia' addPortletLink('p-cactions', URL, "oasis"); } addOnloadHook(add_skin_tab);

// Patch for MWSggest, broken by Wikia $(function {	if (!window.os_MWSuggestInit) {		importScriptURI(stylepath+'/common/mwsuggest.js?'+wgStyleVersion);	} });

//Something, by User:Tm_T -- Adding the editcount to p-personal function add_editcount {    var URL = '/wiki/Special:Editcount/'+wgUserName addPortletLink('p-personal', URL, "editcount"); } addOnloadHook(add_editcount);