Jump to content

User:LittleWink/vector.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.
//// [[Wikipedia:HotCat]]
window.hotcat_use_category_links = true;
window.hotcat_no_autocommit = true;
window.hotcat_list_size = 15;

//// [[Wikipedia:Tools/Navigation popups]]
popupStructure = 'menus';
popupRevertSummaryPrompt = true;

// Normally features are enabled
var toFix = true;
 
// In special pages, histories and previews disable them
if (mw.config.get('wgCanonicalNamespace') == "Special" || /*
    */ location.href.indexOf('&action=history') != -1 || /*
    */ location.href.indexOf('&action=submit') != -1)
  toFix = false;

window.popupRedlinkRemoval = toFix;
window.popupFixRedirs = toFix;
window.popupFixDabs = toFix;
////

//[[User:js/watchlist]]
//if (mw.config.get('wgCanonicalSpecialPageName') == 'Watchlist') 
//  importScript('user:js/watchlist.js');

//[[User:Ale_jrb/Scripts]]
importScript('User:Ale_jrb/Scripts/userhist.js');

//[[Wikipedia:WikiProject Red Link Recovery]]
importScript('User:Topbanana/RLRL_SR_Utility.js');

//[[d:User:Yair rand/WikidataInfo.js]] 
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");
mw.loader.load('//www.wikidata.org/w/index.php?title=User:Yair_rand/checksitelinks.js&action=raw&ctype=text/javascript');

//[[User:Qwertyytrewqqwerty/DisamAssist]]
if ( $.inArray( 'All disambiguation pages', mw.config.get('wgCategories') ) !== -1 ) {
	importScript('User:Qwertyytrewqqwerty/DisamAssist.js');
}
if ( $.inArray( 'All set index articles', mw.config.get('wgCategories') ) !== -1 ) {
	importScript('User:LittleWink/DissamAssist-mod-LW.js');
}
if ( $.inArray( 'World championships', mw.config.get('wgCategories') ) !== -1 ) {
	importScript('User:LittleWink/DissamAssist-mod-LW.js');
}

//Force
importScript('MediaWiki:Gadget-CategoryAboveAll.js');

// This is a wrapper that set the setting variable to enable non-file categorization, and loads the latest cat-a-lot from Commons
importScript('User:קיפודנחש/cat-a-lot.js');

// [[User:Zhaofeng Li/RefToggle]]
importScript( 'User:Zhaofeng Li/RefToggle.js' );

// [[User:Mr. Stradivarius/gadgets/DiffOnly.js]]
DiffOnly = "all" 
importScript('User:Mr. Stradivarius/gadgets/DiffOnly.js');