User:FlightTime Phone/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin is at User:FlightTime Phone/common.css. |
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"));
}