User:Thehelpfulone/common.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 can be added at User:Thehelpfulone/common.css. |
// <nowiki>
// **************************************************Administrator scripts*************************************
$(document).ready(function() { setTimeout(function() { $('#tw-arv').remove(); }, 200); }); //disable ARV tab in twinkle - not needed as I'm an admin
importScript('User:Animum/easyblock.js'); //[[User:Animum/easyblock.js]]
//mw.util.addCSS('#blockoptions ul { width: 114px !important; }');
importScript('User:Animum/userrights.js');// Easy changing of user rights
importScript('User:Animum/massdelete.js');// Mass deletion (access by going to [[Special:MassDelete]])
importScript('User:Mr.Z-man/closeAFD.js');//Close AFD
importScript('User:King of Hearts/closexfd.js');//Script for closing MFD, TFD, FFD, CFD, RFD
importScript('User:Phantomsteve/xfdrelist.js');//Script for relisting MFD, TFD, FFD, CFD, RFD
importScript('User:Lifebaka/closedrv.js');//Script for closing DRVs
importScript('User:Steel359/protection.js');//Easy protection tags
importScript('User:Rami_R/rfppClerk.js'); //[[User:Rami R/rfppClerk]]
importScript('User:Splarka/ajaxfilemove.js'); //File Moving Script
importScript('User:Howcheng/quickimgdelete.js');//[[User_talk:Howcheng/quickimgdelete.js]]
/*importScript('User:MGA73/nowcommonsreview.js');//Now Commons script*/
// simple script to enable the reviewer bit and leave the user a note
MakeReviewerConfig = {
groupReason : "Editor can be trusted with reviewer",
sectionHeader : "[[WP:REVIEWER|Reviewer]] Right Granted",
sectionBody : "{{subst\:reviewer-notice}} ~~\~~"
};
importScript("User:Amalthea/MakeReviewer.js"); //A script to make someone a reviewer, as the name says!
importScript("User:Drilnoth/delresized.js"); //Script to delete old revisions of files that don't meet NFCC.
// importScript('User:HelloAnnyong/cumassblock.js'); // SPI Sock Blocking
// importScript('User:HelloAnnyong/sockblock.js'); // Another sock blocker
// importScript('User:Timotheus Canens/spihelper.js'); //SPI Helper
jQuery( document ).ready( function( $ ) {
if(mw.config.get('wgCanonicalNamespace') == 'User' || mw.config.get('wgCanonicalNamespace') == 'User_talk') {
mw.util.addPortletLink("p-navigation", "//en.wikipedia.org/wiki/Special:UserRights/" + mw.config.get('wgTitle'), "User rights");
} else {
mw.util.addPortletLink("p-navigation", "//en.wikipedia.org/wiki/Special:UserRights", "User rights");
}
});
// ************************************************Editing scripts*******************************************
// importScript('User:Tim Song/afchelper4.js');
importScript('User:AndyZ/peerreviewer.js'); //[[User:AndyZ/peerreviewer.js]]
importScript('User:Kingpin13/watchlistnotifier.js');
// importScript('User:Cameltrader/Advisor.js');
importScript('User:Mr.Z-man/patrollinks.js');
importScript('User:Smith609/toolbox.js');
// ************************************************Miscellaneous scripts**************************************
importScript('User:Amalthea/userhighlighter.js'); // Highlights admins user and talk pages in blue.
function prefixindex()
{
mw.util.addPortletLink("p-tb", "//en.wikipedia.org/wiki/Special:Prefixindex/" + mw.config.get('wgPageName'), "Prefix Index");
}
$(prefixindex);
//importScript('User:Writ Keeper/Scripts/SearchNamespace.js'); // Adds a pulldown menu to the quicksearch bar (at the top right) to select which namespace to search in.
// </nowiki>