User:LadySetsuna/global.js

//============================================================== // AJAX Batch Delete Script //     http://dev.wikia.com/wiki/AjaxBatchDelete //============================================================== // Append /api.php?action=query&list=querypage&qppage=Unusedimages&qplimit=1000 to // the end of wiki name (replacing "/wiki/...") to get the list of pages easily batchDeleteDelay = 500;   // Default: 1000ms./01sec., Current: 500ms./0.5sec.

//============================================================== // AJAX Recent Changes Auto-Refresh Script //     http://dev.wikia.com/wiki/AjaxRC //============================================================== // Change the Display Text window.AjaxRCRefreshText = 'Auto Refresh'; // Change the Hover Text window.AjaxRCRefreshHoverText = 'Automatically refresh the page'; // Change refresh time to 30 seconds var ajaxRefresh = 30000; // Add the option to Wiki Activity Page as well window.ajaxPages = ["Special:WikiActivity", "Special:RecentChanges"];

//============================================================== // CacheCheck //     http://dev.wikia.com/wiki/CacheCheck //============================================================== // List of pages to add to skip if desired: // 1. 'Uncategorizedcategories' // 2. 'Uncategorizedpages' // 3. 'Uncategorizedimages' // 4. 'Uncategorizedtemplates' // 5. 'Unusedcategories' // 6. 'Unusedimages' // 7. 'Unusedtemplates' // 8. 'UnusedVideos' // 9. 'Wantedcategories' // 10. 'Wantedpages' // 11. 'Wantedfiles' cacheSkip = ['Specialpages', 'Deadendpages', 'Lonelypages', 'Wantedtemplates']; // If less than the # of results shown on a page, the script won't run on that page. cacheSkipLimit = 1000;

//============================================================== // Import Scripts //============================================================== importArticles({   type: 'script',    articles: [        'u:dev:AjaxBatchDelete/code.2.js',      // AJAX Batch Delete        'u:dev:AjaxRC/code.js',                 // AJAX Recent Changes Auto-Refresh        // Automatically remove broken file links on pages using Special:WantedFiles.        'u:dev:CleanWantedFiles/code.js',       // CleanWantedFiles        'u:dev:CacheCheck/code.js',             // CacheCheck    ] });