Jump to content

User:Ravensfire/common.js

From Wikipedia, the free encyclopedia
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.
// Add common summaries to WikiEd
var wikEdConfig = {};
wikEdConfig.comboPresetOptions = {};
wikEdConfig.comboPresetOptions.summary = [
 'Per [[WP:ICTF]] consensus, INRConvert template should not be used in infobox, only in article body',
 'Remove unsourced financials and replace with standard comment explaining requirement for reliable sources',
 'Please use [[:Template:Plainlist]] (and related templates such as [[:Template|ubl]]) in infobox, not html  - see [[Template:Infobox_film#Parameters]] and [[Template:Plainlist]] for reasons',
 '[[WP:AMPERSAND]]',
 '[[WP:OVERLINK]]'
];

// RevDelete helper script
importScript( 'User:Enterprisey/cv-revdel.js' ); // Backlink: [[User:Enterprisey/cv-revdel.js]]

// Add link for RefLinks tool in tools section
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );

// Reply script
//importScript( 'User:Enterprisey/reply-link.js' ); // Backlink: [[User:Enterprisey/reply-link.js]]

// Add link for duplinks.js script 	
importScript('User:Evad37/duplinks-alt.js'); // [[User:Evad37/duplinks-alt]]

// Script loader
importScript('User:Enterprisey/delsort.js'); //Linkback: [[User:Enterprisey/delsort.js]] Added by Script installer

// JWB script
//importScript( 'User:Joeytje50/JWB.js/load.js' ); // Backlink: [[User:Joeytje50/JWB.js/load.js]]

// EditProtectedHelper script
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Linkback: [[User:Jackmcbarn/editProtectedHelper.js]]

// Move to draft script
importScript( 'User:MPGuy2824/MoveToDraft.js' ); // Backlink: [[User:MPGuy2824/MoveToDraft.js]]

importScript('User:Enterprisey/script-installer.js'); //Linkback: [[User:Enterprisey/script-installer.js]] Added by Script installer

//MOSNUM script
importScript('User:Ohconfucius/script/MOSNUM dates.js');
// Load portlets
$.when( mw.loader.using( 'mediawiki.util' ), $.ready ).then( function () {
  mw.util.addPortletLink('p-personal', 'https://wikipediatools.appspot.com/linksearch.jsp?mode=single&wiki=en.wikipedia.org', 'LinkSearch', 'jba1', null, null, null);
  mw.util.addPortletLink('p-personal', 'https://en.wikipedia.org/wiki/User:Ravensfire/FilmFinancialWatch', 'FilmWatch', 'jba2', null, null, null);
  mw.util.addPortletLink('p-personal', 'https://en.wikipedia.org/wiki/User:Ravensfire/CutlerRantActivity', 'Cutler', 'jba3', null, null, null);  
  mw.util.addPortletLink('p-personal', 'https://sigma.toolforge.org/editorinteract.py', 'Ed Inter', 'jba4', null, null, null);
  mw.util.addPortletLink('p-personal', 'https://en.wikipedia.org/wiki/User:Ravensfire/ReshammiyaSpam', 'HR Spam', 'jba5', null, null, null);
} );
importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]
importScript('User:Þjarkur/NeverUseMobileVersion.js'); // Backlink: [[User:Þjarkur/NeverUseMobileVersion.js]]
importScript('User:Pythoncoder/voteSymbols.js'); // Backlink: [[User:Pythoncoder/voteSymbols.js]]
importScript('User:Awesome_Aasim/xfdvote.js'); // Backlink: [[User:Awesome_Aasim/xfdvote.js]]
importScript('User:Bellezzasolo/Scripts/arb.js'); // Backlink: [[User:Bellezzasolo/Scripts/arb.js]]
importScript('User:Kangaroopower/MRollback.js'); // Backlink: [[User:Kangaroopower/MRollback.js]]
importScript('User:Writ_Keeper/Scripts/massRollback.js'); // Backlink: [[User:Writ_Keeper/Scripts/massRollback.js]]
importScript('User:Titodutta/scripts/SearchHelper.js'); // Backlink: [[User:Titodutta/scripts/SearchHelper.js]]

// Testing convienent discussions
//mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Jack_who_built_the_house/convenientDiscussions.js&action=raw&ctype=text/javascript');

if ( mw.config.get( 'wgPageName' ) === 'User:Ravensfire/SiteWatch' ) {
	var title="User:Ravensfire/SiteWatchScript.js";
	mw.loader.load( "https://en.wikipedia.org/w/index.php?title="+title+"&action=raw&ctype=text/javascript" );
}

importScript('Wikipedia:AutoEd/formatter.js'); //Backlink: [[Wikipedia:AutoEd/formatter.js]]
importScript('de:Benutzer:TMg/autoFormatter.js'); // Backlink: [[de:Benutzer:TMg/autoFormatter.js]]
importScript('User:Anomie/linkclassifier.js'); // Backlink: [[User:Anomie/linkclassifier.js]]
importScript('User:Qwertyytrewqqwerty/DisamAssist.js'); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]
importScript('User:Enterprisey/diff-permalink.js'); // Backlink: [[User:Enterprisey/diff-permalink.js]]
importScript('User:Lourdes/PageCuration.js'); // Backlink: [[User:Lourdes/PageCuration.js]]

//RedWarn vs Ultraviolet
//importScript('User:RedWarn/.js'); // Backlink: [[User:RedWarn/.js]]
mw.loader.load( '/w/index.php?title=User:10nm/beta.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:10nm/beta.js]] // Backlink: [[User:10nm/beta.js]]
importScript('User:Alexis Jazz/EditNoticesOnMobile.js'); // Backlink: [[User:Alexis Jazz/EditNoticesOnMobile.js]]
importScript('User:Chlod/Scripts/Deputy.js'); // Backlink: [[User:Chlod/Scripts/Deputy.js]]
importScript('User:Alexis Jazz/Kill-It-With-Fire.js'); // Backlink: [[User:Alexis Jazz/Kill-It-With-Fire.js]]
importScript('User:Alexis_Jazz/Kill-It-With-Fire.js'); // Backlink: [[User:Alexis_Jazz/Kill-It-With-Fire.js]]
importScript('User:Evad37/OneClickArchiver.js'); // Backlink: [[User:Evad37/OneClickArchiver.js]]