User:Xd1358/global.js

// 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);