Jump to content

User:FlightTime Public/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.
importScript('User:FlightTime/linkclassifier.js'); //[[User:FlightTime/linkclassifier.js]]
importScript('User:FlightTime/Mark-blocked.js'); // [[User:FlightTime/Mark-blocked.js]]
importScript( 'User:Evad37/Watchlist-hideAWB.js' ); // [[User:Evad37/Watchlist-hideAWB]]
var awbHiddenByDefault = true;
importScript('User:Jackmcbarn/editProtectedHelper.js'); // [[User:Jackmcbarn/editProtectedHelper.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:FlightTime/OneClickArchiver.js' ); // [[User:FlightTime/OneClickArchiver.js]]



mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ATheopolisme%2FScripts%2Fadminhighlighter.js&action=raw&ctype=text/javascript');
//[[User:Theopolisme/Scripts/adminhighlighter.js]]
window.ADMINHIGHLIGHT_EXTLINKS = true;
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/OneClickCommoniser.js&action=raw&ctype=text/javascript');
//[[File:Krinkle_OneClickCommoniser.js]]




LocalComments = {
	dateDifference: true,
	dateFormat: 'mdy',
	timeFirst: true,
	twentyFourHours: false,
	dayOfWeek: true,
	dropDays: 0,
	dropMonths: 0
};

function setupPortalLinks() {
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/User:FlightTime_Public/Status",
	"Status", "pt-acctool", "Lnk to Status page",
	"A", document.getElementById("pt-logout"));
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/User:FlightTime/Workshop",
	"Workshop", "pt-acctool", "Lnk to my Workshop",
	"A", document.getElementById("pt-logout"));
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/User:FlightTime_Public/CSD_log",
	"CSD log", "pt-acctool", "CSD log",
	"A", document.getElementById("pt-logout"));
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/Special:NewFiles",
	"New files", "pt-acctool", "Link to new files",
	"A", document.getElementById("pt-logout"));
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/Category:Wikipedia_files_requiring_renaming",
	"Rename files", "pt-acctool", "Link to rename file category",
	"A", document.getElementById("pt-logout"));
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/Category:Recent_deaths",
	"R/Death", "pt-acctool", "Category:Recent_deaths",
	"A", document.getElementById("pt-logout"));
}

$.when( mw.loader.using(['mediawiki.util']), $.ready ).done( setupPortalLinks );