Jump to content

User:FlightTime Phone/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:SD0001/twinkleos.js'); //[[User:SD0001/twinkleos.js]]
importScript('User:FlightTime/linkclassifier.js'); //[[User:FlightTime/linkclassifier.js]]
importScript('User:Ohconfucius/script/EngvarB.js'); //[[User:Ohconfucius/script/EngvarB.js]]
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/SortCats.js'); // Backlink: [[User:FlightTime/SortCats.js]]
importScript('User:Theopolisme/Scripts/adminhighlighter.js'); //[[User:Theopolisme/Scripts/adminhighlighter.js]]
window.ADMINHIGHLIGHT_EXTLINKS = true;
importScript('User:Evad37/Watchlist-hideAWB.js'); //[[User:Evad37/Watchlist-hideAWB]]
var awbHiddenByDefault = true;

$.when( mw.loader.using(['mediawiki.util']), $.ready ).done( setupPortalLinks );
importScript('User:The Voidwalker/centralAuthLink.js'); // Backlink: [[User:The Voidwalker/centralAuthLink.js]]

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

//---------------------------- Personal links ----------------------------

function setupPortalLinks() {
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/User:FlightTime/Workshop",
	"Shop", "pt-acctool", "Lnk to my Workshop",
	"A", document.getElementById("pt-logout"));
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/Wikipedia:Changing_username/Simple",
	"CHU/S", "pt-acctool", "Lnk to WP:CHU",
	"A", document.getElementById("pt-logout"));
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/Wikipedia:Requested_moves/Technical_requests#Technical_requests",
	"RM/TR", "pt-acctool", "Lnk to WP:RM/TR",
	"A", document.getElementById("pt-logout"));
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/Category:Files_prepared_for_transfer_to_Commons_by_User_ToBeFree",
	"M/Commons", "pt-acctool", "Lnk to Category",
	"A", document.getElementById("pt-logout"));
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/User:FlightTime Phone/CSD_log",
	"C/log", "pt-acctool", "CSD log",
	"A", document.getElementById("pt-logout"));
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/Category:Wikipedia_files_requiring_renaming",
	"R/Files", "pt-acctool", "Link to rename file category",
	"A", document.getElementById("pt-logout"));
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/User:FlightTime/Pages",
	"C/Templates", "pt-acctool", "Link to my custom templates",
	"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"));
	mw.util.addPortletLink( "p-personal",
	"https://en.wikipedia.org/wiki/User:FlightTime/Edit_summaries",
	"E/Summaries", "pt-acctool", "User:FlightTime/Edit summaries",
	"A", document.getElementById("pt-logout"));

}