Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
/* <pre><nowiki> Top of Javascript */// switches for scripts// TODO: migrate to JSConfigvarload_extratabs=true;varload_edittools=true;// extra interface tabs for (external) tools such as check usageimportScript('MediaWiki:Extra-tabs.js');// extra drop down menu on editing for adding special charactersimportScript('MediaWiki:Edittools.js');// Fix for i18n localization not loading.// There are some scripts left that need to be migratedimportScript('Mediawiki:Monobook.js/'+wgUserLanguage);// A workaround for bug 2831, http://bugzilla.wikimedia.org/show_bug.cgi?id=2831// This comes from Wiktionary,// http://en.wiktionary.org/w/index.php?title=MediaWiki:Monobook.js&diff=prev&oldid=1144333if(/\.5B/.test(window.location.hash))window.location=window.location.hash.replace(/\.5B/g,"").replace(/\.5D/g,"");importScript('MediaWiki:NavFrame.js');//// Wikiminiatlas for commons//importScript('Mediawiki:Wikiminiatlas.js');//// Wikimediaplayer for commons [[User:Gmaxwell]]//// importScript( 'Mediawiki:Wikimediaplayer.js' );//// Add "Nominate for Deletion" to toolbar ([[MediaWiki talk:Quick-delete.js]])//varQuickDeleteLoadCount=0;importScript('MediaWiki:Quick-delete.js');//// Add ResizeGalleries script ([[MediaWiki talk:ResizeGalleries.js]])//JSconfig.registerKey('resizeGalleries',true,'Resize gallery- and categorywidths to fit screen:',3);if(JSconfig.keys['resizeGalleries'])importScript('MediaWiki:ResizeGalleries.js');//Add a link to a RSS feed for each category page, in the toolbox.importScript('MediaWiki:Catfood.js');//// Change target of add-section links// See Template:ChangeSectionLink//$(function(){varchangeAddSection=document.getElementById('jsChangeAddSection')if(changeAddSection){varaddSection=document.getElementById('ca-addsection');if(addSection){addSection.firstChild.setAttribute('href',wgScript+'?action=edit§ion=new&title='+encodeURIComponent(changeAddSection.getAttribute('title')));}}});/* Bottom of Javascript </nowiki></pre> *///</nowiki></pre>//<pre><nowiki>importScript('MediaWiki:Gadget-HotCat.js');//</nowiki></pre>