MediaWiki:Monobook.js

/* ######################################################################### */ /* ### JavaScript here is only loaded for users using the Monobook skin. ### */ /* ######################################################################### */

//

// ============================================================ // BEGIN Blog fix // ============================================================

// Description: Fix blogs in Monobook // Credit:     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); } }

// ============================================================ // END Blog fix // ============================================================

//