User:FlightTime Public/common.js

This is an old revision of this page, as edited by FlightTime Public (talk | contribs) at 14:50, 8 October 2016 (+ 1). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');

// [[User:Equazcion/OneClickArchiver.js]]
importScript( 'User:Equazcion/OneClickArchiver.js' );

importScript('User:Ais523/adminrights.js');

importScript('User:Drilnoth/lefteditlinks.js');

importScript('User:Ohconfucius/script/MOSNUM dates.js');  //[[User:Ohconfucius/script/MOSNUM dates.js]]

importScript('User:Ohconfucius/script/Common Terms.js');  //[[User:Ohconfucius/script/Common Terms.js]]

//importScript('User:Tim Song/afchelper4.js');

importScript('User:Anomie/util.js');

importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]

importScript('User:Ioeth/friendly.js');

importScript('User:Dr pda/prosesize.js'); //[[User:Dr pda/prosesize.js]]

importScript("User:GregU/dashes.js");

 importScript('User:AzaToth/twinkle.js');

importScript('User:Smith609/toolbox.js');

$(function() {
	mw.util.addPortletLink(
		"p-personal",
		"http://en.wikipedia.org/wiki/User_talk:Mlpearc",
		"Main talk", "pt-acctool", "Link to my main talk page",
		"A", document.getElementById("pt-logout")
	);

	mw.util.addPortletLink(
		"p-personal",
		"http://en.wikipedia.org/wiki/User:Mlpearc/Status",
		"Status", "pt-acctool", "Status",
		"A", document.getElementById("pt-logout")
	);

	mw.util.addPortletLink(
		"p-personal",
		"http://en.wikipedia.org/wiki/User:Mlpearc/Workshop#Frequently_used_stuff",
		"Workshop", "pt-acctool", "Lnk to my Workshop",
		"A", document.getElementById("pt-logout")
	);
	
	mw.util.addPortletLink(
		"p-personal",
		"http://en.wikipedia.org/wiki/Special:NewFiles",
		"New Files", "pt-acctool", "New Files",
		"A", document.getElementById("pt-logout")
	);
	
	mw.util.addPortletLink(
		"p-personal",
		"http://en.wikipedia.org/wiki/Wikipedia:Requests_for_permissions#Current requests",
		"RfP", "pt-acctool", "Link to Requests for Permissions",
		"A", document.getElementById("pt-logout")
	);

	// Add [[User:Dispenser/Reflinks|WP:Reflinks]] launcher in the toolbox on left
	mw.util.addPortletLink(
		"p-tb",     // toolbox portlet
		"http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + mw.config.get('wgPageName')
		+ "?client=script&citeweb=on&overwrite=&limit=20&lang=" + mw.config.get('wgContentLanguage'),
		"Reflinks"  // link label
	);
});

/**
 * TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
 * @see https://meta.wikimedia.org/wiki/TemplateScript
 * @update-token [[File:pathoschild/templatescript.js]]
 */
mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js');


/*************
***
*** Trial Run
***
*************/
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' + '&action=raw&ctype=text/javascript');


// [[File:Krinkle_RTRC.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/RTRC.js&action=raw&ctype=text/javascript');

// [[File:Krinkle_OneClickCommoniser.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/OneClickCommoniser.js&action=raw&ctype=text/javascript');