User:Splarka/monobook.js

//always load importScript('User:Zocky/SearchBox.js'); //User:Zocky/SearchBox.js var autoLocalTimeStamps = false; importScript('User:Splarka/timestamplocalizer.js'); importScript('User:Splarka/lifilter.js'); importScript('User:Splarka/domdump.js'); importScript('User:Splarka/dabfinder.js'); importScript('User:Splarka/rtl.js'); var showUserGroupSettings = {'IP':true,'unregistered':true,'groups': true,'groupless': true,'blocked':true}; importScript('User:Splarka/sysopdectector.js'); importScript('User:Splarka/temused.js'); importScript('User:Splarka/templatesabused.js'); importScript('User:Splarka/ajaxrecentchanges.js'); importScript('User:Splarka/lastmod.js'); importScript('User:Splarka/diffreveal.js');

//conditional if(wgCanonicalSpecialPageName == 'Contributions') { importScript('User:Splarka/contribsrange.js'); importScript('User:Splarka/contribsmulti.js'); importScript('User:Splarka/hidetopcontribs.js'); importScript('User:Splarka/stalkcontribs.js'); } if(wgCanonicalSpecialPageName == 'Imagelist') importScript('User:Splarka/galleryimagelist.js'); if(wgCanonicalSpecialPageName == 'Prefixindex') importScript('User:Splarka/cmlhider.js'); if(wgCanonicalNamespace == 'Category') importScript('User:Splarka/togglegallery.js'); if(wgAction == 'view') importScript('User:Splarka/timetravel.js'); if(wgNamespaceNumber == -1 || wgAction == 'history') importScript('User:Splarka/synaesthesia.js');

//Misc tests $(pLangOverflow) function pLangOverflow { var lang = document.getElementById('p-lang'); if(!lang) return; var bod = getElementsByClassName(lang,'div','pBody'); var li = bod[0].getElementsByTagName('li'); if(li.length < 10) return appendCSS('#p-lang .pBody {height:15em; overflow:auto;}'); }