User:NQ/common.js
Appearance
< User:NQ
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:NQ/common.css. |
importScript('User:PleaseStand/userScriptSandbox.js'); // [[Wikipedia:User script sandbox]]; Script sandbox
//Customization
importScript('User:NQ/custom-scripts/tabs.js'); //Adds Tabs to vector skin; Linkback:[[User:js/6tabs-vector.js]]
importStylesheet('User:Rezonansowy/FloatHead.css'); //Floating Header - makes the Wikipedia head navigation floating; Linkback:[[User:User:Rezonansowy/FloatHead.js]]
importScript('User:Mattflaschen/Compare link.js'); //Converts Compare Diffs button to link format; Linkback:[[User:Mattflaschen/Compare link.js]]
importScript('User:NQ/custom-scripts/ajaxWatchlist.js'); //Updates Watchlist automatically; Linkback:[[User:Theopolisme/Scripts/ajaxWatchlist.js]]
importScript('User:NQ/custom-scripts/sidebar.js');
importScript('User:NQ/custom-scripts/reset.js');
inspectText = "show";
showText = "show";
hideText = "hide";
importScript('User:NQ/custom-scripts/inlinediffs.js'); // [[User:Writ Keeper/Scripts/commonHistory.js]]
importScript('User:NQ/custom-scripts/diffhistoryoffset.js');
//User data
importScript("User:NQ/custom-scripts/userinfo.js"); // [[User:PleaseStand/User info]]; Linkback:[[User:PleaseStand/userinfo.js]]
importScript('User:Theopolisme/Scripts/adminhighlighter.js'); //Highlights sysops; Linkback:[[User:Theopolisme/Scripts/adminhighlighter.js]]
//Rollback
importScript("User:Writ Keeper/Scripts/massRollback.js"); // Rollback all contribs by a user; Linkback: [[User:Writ Keeper/Scripts/massRollback.js]]
importScript('User:Mr. Stradivarius/gadgets/ConfirmRollback.js'); // [[Mr. Stradivarius/gadgets/ConfirmRollback]]; Linkback: [[User:Mr. Stradivarius/gadgets/ConfirmRollback.js]]
ConfirmRollback = {
watchlist: "hide",
recentchanges: "hide",
history: "confirm"
};
//Misc
importScript("User:Writ Keeper/Scripts/deletionFinder.js"); // Links to the deletion log and/or AfDs; Linkback: [[User:Writ Keeper/Scripts/deletionFinder.js]]
importScript('User:Theopolisme/Scripts/autocompleter.js'); // [[User:Theopolisme/Scripts/autocompleter]]; Linkback: [[User:Theopolisme/Scripts/autocompleter.js]]
importScript('User:NQ/links.js');
importScript('User:NQ/custom-scripts/diffconverter.js'); //[[User:Scottywong/diffconverter.js]]
importScript('user:js/urldecoder.js'); // [[user:js/urldecoder]]
importScript('User:NQ/custom-scripts/rxtest.js');
importScript('User:Plastikspork/flipsummary.js');
//importScript('User:ais523/catwatch.js');
importScript('User:NQ/topbotnavigation.js');
mw.loader.load('//he.wikipedia.org/w/load.php?modules=ext.gadget.autocomplete');
importScript('User:Anomie/nosubmitsummary.js'); // Linkback: [[User:Anomie/nosubmitsummary.js]]
importScript('User:NQ/watchlistToggle.js');
//importScript('User:Mr.Z-man/closeAFD.js'); Linkback: [[User:Mr.Z-man/closeAFD.js]]
//importScript('User:Jackmcbarn/editProtectedHelper.js'); //Edit Protect Helper; Linkback: [[User:Jackmcbarn/editProtectedHelper.js]]
//importScript("User:PleaseStand/segregate-refs.js"); // [[User:PleaseStand/References segregator]]; Linkback: [[User:PleaseStand/segregate-refs.js]]
//importScript('User:Lupin/recent2.js'); //Lupin Anti Vandal Tool; Linkback: [[User:Lupin/recent2.js]]
//Script Manager
importScript('User:MusikAnimal/scriptManager.js'); // [[User:MusikAnimal/scriptManager]]; Backlink: [[User:MusikAnimal/scriptManager.js]]
scriptsToManage = {
"Edit Protected Helper" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Jackmcbarn/editProtectedHelper.js",
"Reference Segregator" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:PleaseStand/segregate-refs.js",
"Lupin Anti Vandal" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Lupin/recent2.js",
"AFD Closer" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Mr.Z-man/closeAFD.js",
};
//Highlight my own comments on click
importScript("User:PleaseStand/highlight-comments.js"); // Linkback:[[User:PleaseStand/highlight-comments.js]]
window.highlightCommentsSettings = {
highlighterFunction: function( hc ) {
hc.addColorForUsers( '#e9e9e9', [ //Set highlight color to light grey
mw.config.get( 'wgUserName' ),
] );
hc.addMenuItem();
}
};
mw.loader.load('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');