$("#p-tb, #n-randompage, #n-contact, #n-thema, #n-aboutwp, #n-sitesupport, #p-coll-print_export").hide();
mw.loader.using('mediawiki.util', function () {
var mainbox = function ($) {
if (mw.config.get('wgNamespaceNumber') >= 0) {
mw.util.addPortletLink( portletID = 'p-navigation', href = 'https://tools.wmflabs.org/topviews/?project=en.wiki.x.io&platform=all-access&date=yesterday&excludes=', text = 'Top views', id = 'p-topviews', tooltip = 'Top views') ;
mw.util.addPortletLink( portletID = 'p-navigation', href = 'http://weekly.hatnote.com/archive/en/index.html', text = 'Weeklypedia', id = 'p-weeklypedia', tooltip = 'Top edited articles') ;
mw.util.addPortletLink( portletID = 'p-navigation', href = 'https://tools.wmflabs.org/scholia/', text = 'Scholia', id = 'p-scholia', tooltip = 'Scholia' ) ;
}
}
$(document).ready(mainbox);
});
importScript('User:PAC2/articlebox.js');
importScript('User:PAC2/userbox.js');