User:Bgwhite/vector.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin is at User:Bgwhite/vector.css. |
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]]