User:Snowdapple/common.js

//My JS widgets to make life easier //Taken from the dev wikia / stole from Jayce THANKS //for wiki activity var ajaxPages = ['Special:RecentChanges','Special:WikiActivity','Special:Contributions']; //refreshing widget var AjaxRCRefreshText = 'Refresh'; importScriptPage('AjaxRC/code.js', 'dev'); var ajaxRefresh = 30000; //see more activity button importArticles({   type: 'script',    articles: [        'u:dev:SeeMoreActivityButton/code.js',    ] }); //QUICKDIFF //no literally everyone should use this one oml importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:QuickDiff/code.js',    ] }); //for page options //purge importScriptPage( 'PurgeButton/code.js', 'dev' ); var PurgeButtonText = 'Refresh'; //whatlinkshere importArticles({   type: 'script',    articles: [        'u:dev:WhatLinksHere/code.js',    ] }); //toggle side bar; more space to edit importArticles({   type: 'script',    articles: [        // ...        'u:dev:MediaWiki:ToggleSideBar/code.js',        // ...    ] }); //editing tools/spellchecker importArticle({type: 'script', article: 'w:c:dev:VisualSpellCheck/code.js'}); //autocapitalizer importArticle({type: 'script', article: 'u:dev:MediaWiki:CapsFirst/code.js'}); //random importArticles({   type: 'script',    articles: [        'u:kocka:MediaWiki:Emoticons/code.js',    ] }); //mass rename importArticles({   type: 'script',    articles: [        'u:dev:MassRename/code.js',    ] }); //contributions in userpage dropdown importArticles({   type: 'script',    articles: [        'u:dev:ContribsLink/code.js',    ] }); //restoring the UTC wikiclock for my broken computer importArticles({   type: 'script',    articles: [        'u:dev:UTCClock/code.js',    ] }); //adding the direct talk link for projects importArticles({   type: 'script',    articles: [        'u:dev:DedicatedTalkButton.js',    ] }); //edit conflict warning importArticles({   type: "script",    articles: [        "u:dev:EditConflictAlert/code.js"    ] }); //new things importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:PatrolRC/code.js',    ] }); importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MassEdit/code.js',    ] }); window.massEditConfig = { editSummary: "", editInterval: 5000 }; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:FindAndReplace/code.js',    ] });

//other things importArticles({   type: "script",    articles: [        "u:dev:AjaxPatrol/code.js"    ] }); importArticles({   type: 'script',    articles: [        'u:dev:NoImageLightbox/code.js'    ] }); //lists pages with several categories together //usage: categoryname importArticles( {   type: 'script',    articles: [        "u:dev:ListPages/code.js"    ] } ); //strikes in caches importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:CacheCheck/code.js',    ] }); //multi upload importScriptPage('MultiUpload/code.js', 'dev'); //anchored rollback importScriptPage('MediaWiki:AnchoredRollback/code.js', 'dev');

//mass categorization massCategorizationDelay = 1500; importScriptPage('MediaWiki:MassCategorization/code.js', 'dev');

//non-floating header importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:SmoothGlobalNav/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:WikiActivity.js',    ] });