Difference between revisions of "MediaWiki:Common.js"
From Tycoon Gaming
BelgianCat (talk | contribs) m (impulsive previous decision, re-adding lolol (maybe previous was cached)) |
BelgianCat (talk | contribs) m (have to do it this way sorry, UserCSS (and JS) is disabled by default - Will yeetus deleetus after testing is completed) |
||
Line 1: | Line 1: | ||
mw.loader.load( '/wiki/index.php?title=Mediawiki:Middleclick.js&action=raw&ctype=text/javascript'); | 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:LastPage.js&action=raw&ctype=text/javascript'); | ||
+ | mw.loader.load( '/wiki/index.php?title=MediaWiki:LastPage2.js&action=raw&ctype=text/javascript'); | ||
Revision as of 21:46, 3 May 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:LastPage2.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'; } });