Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Jayprakash (talk | contribs) (Disable QRCode - It needs some fixes) |
Jayprakash (talk | contribs) |
||
| Line 13: | Line 13: | ||
// Gadget - QRCode | // Gadget - QRCode | ||
| − | + | mw.loader.load('/index.php?title=MediaWiki:QRCode.js&action=raw&ctype=text/javascript'); | |
Revision as of 12:23, 13 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( '/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
// Gadget - QRCode
mw.loader.load('/index.php?title=MediaWiki:QRCode.js&action=raw&ctype=text/javascript');