Jump to content

User:Hasteur/vector.js

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
mw.loader.load('//www.wikidata.org/w/index.php?title=User:Yair_rand/checksitelinks.js&action=raw&ctype=text/javascript');
importScript('User:AzaToth/twinkle.js');
importScript('User:Shubinator/DYKcheck.js');
if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS
TwinkleConfig.openTalkPage = [ 'norm', 'vand' ];
TwinkleConfig.userTalkPageMode = 'tab';
TwinkleConfig.watchSpeedyPages  = [ 'g1', 'g2', 'g3', 'g4', 'g5', 'g6', 'g7', 'g8', 'g10', 'g11', 'g12', 'a1', 'a2', 'a3', 'a5', 'a7', 'a9', 'a10', 'r2', 'r3', 'f1', 'f2', 'f3', 'f4', 'f5', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', ];
TwinkleConfig.xfdWatchDiscussion = "yes";
TwinkleConfig.xfdWatchPage = "yes";
	
importScript('User:Ioeth/friendly.js');
 
if( typeof( FriendlyConfig) == 'undefined' ) FriendlyConfig= {}; // DO NOT REMOVE THIS LINE - ALL FRIENDLY SETTINGS AFTER THIS
FriendlyConfig.markTaggedPagesAsPatrolled = false;

importScript('MediaWiki:Gadget-HotCat.js');

//Add Delsort tool




/***** Begin deletion-sorting code ***************************************
   Substituted from [[Template:Deltab]]
   From code by [[User:Raylu|raylu]], updates made by [[User:Dinoguy1000]]
 
 
   This script adds a "Martial Arts Deletion" tab to the top of XfD pages
   when in edit mode.
*/

function addDelsortMessage() {
    document.editform.wpTextbox1.value = document.editform.wpTextbox1.value.rtrim();
    document.editform.wpTextbox1.value += '\{\{subst:deletion sorting|Martial Arts| -- \~\~\~\~\}\}\n';
    if( document.editform.wpSummary.value.match(/[^\*\/\s][^\/\s]?\s*$/) ){ document.editform.wpSummary.value += '; '; }
    document.editform.wpSummary.value += 'tagged as a Martial Arts-related deletion ([[Template:Deltab|script-assisted]])';
    document.editform.wpMinoredit.checked = true;
    document.editform.submit();
}

addOnloadHook(function() {
    if( wgNamespaceNumber == 4 && wgTitle.match( / for d(elet|iscuss)ion/ ) && ( wgAction == "edit" || wgAction == "submit" ) ) {
        mw.util.addPortletLink( 'p-cactions', 'javascript:addDelsortMessage()', 'Martial Arts deletion', 'ca-Martial Artsdeletion', 'Martial Arts Deletion', '' );
    }
});

/***** End deletion-sorting code *****************************************/

/***** End deletion-sorting code *****************************************/
importScript('User:GregU/familytree.js')
importScript('Wikipedia:AutoEd/complete.js');

mw.loader.load( 'https://en.wikipedia.org/w/index.php?title=User:Technical_13/Scripts/CVD.js&action=raw&ctype=text/javascript' );//Beta testing for [[User:Technical 13/Scripts/CVD]]