Jump to content

User:FlightTime/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by FlightTime (talk | contribs) at 19:59, 1 December 2024 (Test). 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.
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://translate.google.com/?sl=auto&tl=en&op=translate",
	"G/Translate", "pt-acctool", "Lnk to Google Translate",
	"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/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"));

}