Difference between revisions of "MediaWiki:Common.js"
From Tycoon Gaming
m (included custom js for testing) |
m (Moved TestJs from here to hereMainMenuTest.js) |
||
Line 10: | Line 10: | ||
const elem = document.getElementById('p-personal-container'); | const elem = document.getElementById('p-personal-container'); | ||
elem.style.display = 'none'; | elem.style.display = 'none'; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
}); | }); |
Revision as of 10:14, 10 November 2023
mw.loader.load( '/wiki/index.php?title=Mediawiki:Middleclick.js&action=raw&ctype=text/javascript'); mw.loader.load( '/wiki/index.php?title=MediaWiki:LastPage.js&action=raw&ctype=text/javascript'); mw.loader.load( '/wiki/index.php?title=MediaWiki:MoveTOC.js&action=raw&ctype=text/javascript'); mw.loader.load( '/wiki/index.php?title=MediaWiki:MainMenuTest.js&action=raw&ctype=text/javascript'); $( document ).ready(function() { if ( window.location !== window.parent.location ) { const elem = document.getElementById('p-personal-container'); elem.style.display = 'none'; } });