User:Ohmystars/global.js

/* Auto-refresh */ ajaxPages = ['Special:WikiActivity', 'Special:RecentChanges', 'Special:Log', "Special:Contributions"];

/* Quick create user page */ var qtUserPageTemplate = ''; var qtEnableUserPageOverwrite = true;

/* Import scripts */ if(wgDBname !== 'admintools') { importArticles({       type: "script",        articles: [            // Miscellaneous            "w:dev:Thread Inspection/code.js", // Reviewing removed messages from threads            "w:dev:NoImageLightbox/code.js", // Disable lightbox loader for images            "w:dev:QuickCreateUserPage/code.js", // QuickCreateUserPage            "w:dev:DiffAnchored/code.js", // Quickly see diffs            // Edit dropdown            "w:dev:NullEditButton/code.js", // "Null Edit" option to rebuild the page             "w:dev:AjaxRedirect/code.js", // Quickly redirect the current page            "w:dev:View Source/code.js", // View the article in raw code            // Toolbar            "w:dev:AjaxBatchDelete/code.2.js", // Delete a batch of pages        ]    }); }

/* Import scripts on Special pages */ if(wgCanonicalNamespace == 'Special') { importArticles({       type: "script",        articles: [            "w:dev:CacheCheck/code.js", // Cross out resolved entries on cached Special Pages            "w:dev:AjaxRC/code.js", // Auto refreshing recent updates        ]    }); }

/* Import scripts on upload special pages*/ if(wgPageName == 'Special:Upload' || wgPageName == 'Special:MultipleUpload') { importScriptPage('MiniComplete/code.js','dev'); // Autocomplete for description in Upload }