Jump to content

User:JFG/common.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// HotCat settings
window.hotcat_use_category_links = true;
window.hotcat_single_changes_are_minor = true;
window.hotcat_dont_add_to_watchlist = true;
window.hotcat_del_needs_diff = false;
window.hotcat_suggestions = "searchindex";
window.hotcat_list_size = 20; // HotCat only accepts a size between 5 and 15 lines (hardcoded at [[MediaWiki:Gadget-HotCat.js]] line 2694)
window.hotcat_editbox_width = 80; 
// HotCat shortcuts
(function(){function setShortCuts(){if (!window.HotCat.addShortcuts) return; window.HotCat.addShortcuts({
 // Do not modify above. Add your shortcuts below
 // Shortcut : Replacement, both inside single quotes. If the replacement shall contain a single quote, write it as \'
 // ADD YOUR SHORTCUTS HERE. DO NOT FORGET THE COMMA AT THE END OF EACH LINE.
 'com':'Communications satellites in ',
 'der':'Derelict satellites ',
 'ga':'Grammy Award for ',
 'sb':'Spacecraft launched by ',
 'sl':'Spacecraft launched in ',
 'sr':'Spacecraft which reentered in ',
 'vi':'Vehicles introduced in ',
 // Do not modify below
' ':""});} if (window.HotCat && window.HotCat.runWhenReady) window.HotCat.runWhenReady(setShortCuts); else $('body').on('hotcatSetupCompleted',setShortCuts);})();

/* No longer used -- keep for future revival
// Interactive chess viewers
importScript('User:קיפודנחש/pgnwrapper.js');
importScript('User:Fred_Gandt/chessDemo.js');
*/

// AWB script
importScript('User:Joeytje50/JWB.js/load.js'); // Backlink: [[User:Joeytje50/JWB.js/load.js]]
// Disambiguation assistant
importScript('User:Qwertyytrewqqwerty/DisamAssist.js'); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]
// Page swap
// importScript('User:Andy M. Wang/pageswap.js'); // Backlink: [[User:Andy M. Wang/pageswap.js]]
pagemoveDoPostMoveCleanup = true;
importScript('User:Ahecht/Scripts/pageswap.js'); // Backlink: [[User:Ahecht/pageswap]]
// Article size
importScript('User:Dr pda/prosesize.js'); // Backlink: [[User:Dr pda/prosesize.js]]
// Archiver
importScript('User:Technical_13/Scripts/OneClickArchiver.js'); // Backlink: [[User:Technical_13/Scripts/OneClickArchiver.js]]
// Diff + preview
importScript('User:Writ Keeper/Scripts/previewAndDiff.js'); // Backlink: [[User:Writ Keeper/Scripts/previewAndDiff.js]]
// Unsigned helper
importScript('User:Anomie/unsignedhelper.js'); // Backlink: [[User:Anomie/unsignedhelper.js]]
// Citation bot
importScript('User:Headbomb/citations.js'); // Backlink: [[User:Headbomb/citations.js]]
// Admin highiight
importScript('User:Theopolisme/Scripts/adminhighlighter.js'); // Backlink: [[User:Theopolisme/Scripts/adminhighlighter.js]]
// Redirect categorisation
// importScript('User:MJL/Archer.js'); // Backlink: [[User:MJL/Archer.js]]