User:Thehelpfulone/common.js: Difference between revisions
Appearance
Content deleted Content added
part of global.js |
tidy up |
||
Line 23: | Line 23: | ||
importScript("User:Amalthea/MakeReviewer.js"); //A script to make someone a reviewer, as the name says! |
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:Drilnoth/delresized.js"); //Script to delete old revisions of files that don't meet NFCC. |
||
⚫ | |||
importScript('User:HelloAnnyong/ |
// importScript('User:HelloAnnyong/cumassblock.js'); // SPI Sock Blocking |
||
importScript('User: |
// importScript('User:HelloAnnyong/sockblock.js'); // Another sock blocker |
||
⚫ | |||
jQuery( document ).ready( function( $ ) { |
jQuery( document ).ready( function( $ ) { |
||
Line 36: | Line 36: | ||
} |
} |
||
}); |
}); |
||
// Provides several useful functions for rollback (custom edit summary, mark as bot edits and mass revert) |
|||
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Smart_rollback> |
|||
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript'); |
|||
// ************************************************Editing scripts******************************************* |
// ************************************************Editing scripts******************************************* |
||
Line 45: | Line 41: | ||
importScript('User:AndyZ/peerreviewer.js'); //[[User:AndyZ/peerreviewer.js]] |
importScript('User:AndyZ/peerreviewer.js'); //[[User:AndyZ/peerreviewer.js]] |
||
importScript('User:Kingpin13/watchlistnotifier.js'); |
importScript('User:Kingpin13/watchlistnotifier.js'); |
||
importScript('User:Cameltrader/Advisor.js'); |
// importScript('User:Cameltrader/Advisor.js'); |
||
importScript('User:Mr.Z-man/patrollinks.js'); |
importScript('User:Mr.Z-man/patrollinks.js'); |
||
importScript('User:Smith609/toolbox.js'); |
importScript('User:Smith609/toolbox.js'); |
||
// ************************************************Miscellaneous scripts************************************** |
// ************************************************Miscellaneous scripts************************************** |
||
importScriptURI('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript'); |
|||
importScript('User:Versageek/isblocked.js'); // Check if a user is blocked |
|||
importScript('User:Amalthea/userhighlighter.js'); // Highlights admins user and talk pages in blue. |
importScript('User:Amalthea/userhighlighter.js'); // Highlights admins user and talk pages in blue. |
||
//importScript('User:Splarka/sysopdectector.js'); // Make user groups more obvious when viewing user pages |
|||
importScript('User:PleaseStand/userinfo.js'); // A new one, perhaps better? |
|||
function prefixindex() |
function prefixindex() |
||
Line 64: | Line 55: | ||
//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. |
//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. |
||
// A helpful script to move links from the Dropdown tab in the Vector skin to individual tabs instead. |
|||
// by [[m:user:Hoo man]] |
|||
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/vectorActions.js&action=raw&ctype=text/javascript'); |
Revision as of 01:25, 16 January 2016
// **************************************************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(wgCanonicalNamespace == 'User' || wgCanonicalNamespace == 'User_talk') {
addPortletLink("p-navigation", "//en.wikipedia.org/wiki/Special:UserRights/" + wgTitle, "User rights");
} else {
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()
{
addPortletLink("p-tb", "//en.wikipedia.org/wiki/Special:Prefixindex/" + mw.config.get('wgPageName'), "Prefix Index");
}
addOnloadHook(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.