User:ThunderStar321/common.js

//My JS widgets to make life easier //Taken from the dev wikia //everyone should have these feel free to take them and leave creds :3 //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"    ] }); //other things 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',    ] }); //anchored rollback importScriptPage('MediaWiki:AnchoredRollback/code.js', 'dev'); //multi upload importScriptPage('MultiUpload/code.js', 'dev'); //mass categorization massCategorizationDelay = 1500; importScriptPage('MediaWiki:MassCategorization/code.js', 'dev'); //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: 1500 }; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:FindAndReplace/code.js',    ] }); importArticles({   type: "script",    articles: [        "u:dev:MediaWiki:JWB/load.js"    ] }); importScriptPage('Mediawiki:FindNReplace/code.js','dev'); importArticles({   type: "script",    articles: [        'u:dev:MassProtect/code.js',    ] }); importArticles({   type: 'script',    articles: [        'u:dev:AutoEditPages/code.js'    ] }); importArticles({	type: "script",	articles: [		"u:dev:MediaWiki:CatNav/code.js"	] }); importArticles({   type: 'script',    articles: [        'u:dev:AjaxBatchDelete/code.js',    ] }); linkSweepConfirmation = true; LinkSweeperDelay = 1000; window.categoryList = ["Characters", "Books"] importArticles({ type: 'script', articles: [   'u:dev:Linksweeper/code.js' ]}); importArticles({   type: 'script',    articles: [        'u:dev:AddArticleToCategory/code.js',    ] }); //end