Jump to content

User:Bgwhite/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.
importScript( 'User:Evad37/Watchlist-hideAWB.js' );

// ****** Javascript Wikibrowser - User:Joeytje50/JWB
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');

// ****** Sources -- formate cite1 refs
importScript('User:Ohconfucius/script/Sources.js');


// ****** Remove flag icons 
importScript('User:Ohconfucius/script/flagcruft.js');


// ****** reFill -- User:Zhaofeng_Li/reFill
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );


// ****** AutoEd CheckWiki version 
importScript('Wikipedia:AutoEd/complete.js');


// ****** AutoFormatter version 
mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript' );


// ****** Adds improved viewing of diffs.  For some reason, it doesn't work when enabled in gadgets, but does if added here.
mw.loader.load('User:Cacycle/wikEdDiff.js');


// ****** Adds some functions to watchlist.  Documentation at [[User:Js/watchlist]]
if (wgCanonicalSpecialPageName == 'Watchlist') 
  importScript('user:js/watchlist.js');


// ****** Hide the sidebar in Vector.  Can access sidebar by alt-shift-a.  Documentations at [[User:PleaseStand/Hide Vector sidebar]
importScript('User:PleaseStand/hide-vector-sidebar.js');


// ****** Hide the "Mark all read" button on the watchlist
mw.loader.load('User:Equazcion/RemoveMarkAll.js');


// ******* [[User:Equazcion/LiveDiffLink]]
mw.loader.load('User:Equazcion/LiveDiffLink.js');


// ****** Add My Dashboard and Sandbox to the Personal toolbar
function addNewpages(){
          mw.util.addPortletLink("p-personal","https://en.wikipedia.org/wiki/User:Bgwhite/Dashboard" ,"Dashboard","pt-mydashboard","View my Dashboard", "", document.getElementById('pt-logout'));
           mw.util.addPortletLink("p-personal","https://en.wikipedia.org/wiki/User:Bgwhite/Sandbox" ,"Sandbox","pt-mydashboard","View my Sandbox", "", document.getElementById('pt-logout'));
}
$(addNewpages);

// ****** Amdmin detector
// ****** Adds group settings next to page name on talk/user pages.
mw.loader.load('User:Equazcion/sysopdetector.js');

var showUserGroupSettings = {
  'groups': true,
  'editcount':false,
  'blocked':true
};

// ****** Fix Date issues
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // [[User:Ohconfucius/script/MOSNUM_dates]]


// ****** Fix ref issues
mw.loader.load('User:Ohconfucius/script/Sources.js'); // [[User:Ohconfucius/script/Sources]]


// ****** Removal of flags
mw.loader.load('User:Ohconfucius/script/flagcruft.js');


// ****** Add article history toolserver links to sidebar
mw.loader.load('User:Equazcion/SidebarHistoryTools.js');


// ****** Helps close AfDs
mw.loader.load('User:Mr.Z-man/closeAFD.js');


// ******* Show Wikidata links under page title
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");


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


// ******* User:Equazcion/OneClickArchiver
importScript('User:Equazcion/OneClickArchiver.js'); // Backlink: [[User:Equazcion/OneClickArchiver.js]]