Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Jayprakash (talk | contribs) m |
Jayprakash (talk | contribs) |
||
| Line 8: | Line 8: | ||
$('#p-UIF').children().find('a').attr('target', '_blank'); | $('#p-UIF').children().find('a').attr('target', '_blank'); | ||
}); | }); | ||
| + | |||
| + | // Gadget-HotCat | ||
| + | mw.loader.load( '/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); | ||
Revision as of 16:43, 9 January 2020
$( document ).ready( function(){
if( mw.config.get('wgIsMainPage') )
{
$('#sbl-breadcrumbs').remove();
}
// Open all UIF link in new tab
$('#p-UIF').children().find('a').attr('target', '_blank');
});
// Gadget-HotCat
mw.loader.load( '/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );