User:FlightTime Public/common.js: Difference between revisions

Content deleted Content added
Update
Update
 
(42 intermediate revisions by 3 users not shown)
Line 1:
importScript('User:Dr pdaFlightTime/prosesizeStrike-blocked.js'); // [[User:Dr pdaFlightTime/prosesizeStrike-blocked.js]]
// [[User:Krimpet/CH2.js]]
importScript('User:KrimpetJackmcbarn/CH2editProtectedHelper.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: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');
 
importScript( 'User:AnomieEvad37/linkclassifierWatchlist-hideAWB.js' ); // Linkback: [[User:AnomieEvad37/linkclassifier.jsWatchlist-hideAWB]]
addOnloadHook(function () {
var awbHiddenByDefault = true;
addPortletLink( "p-personal",
"http://en.wikipedia.org/wiki/User:Mlpearc/Workshop#Shop",
"WorkShop", "pt-acctool", "Link to Mlpearc's workshop",
"A", document.getElementById("pt-logout"));
});
 
addOnloadHook(function () {
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"));
});
 
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ATheopolisme%2FScripts%2Fadminhighlighter.js&action=raw&ctype=text/javascript');
// Add [[WP:Reflinks]] launcher in the toolbox on left
//[[User:Theopolisme/Scripts/adminhighlighter.js]]
addOnloadHook(function () {
window.ADMINHIGHLIGHT_EXTLINKS = true;
addPortletLink(
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/OneClickCommoniser.js&action=raw&ctype=text/javascript');
"p-tb", // toolbox portlet
//[[File:Krinkle_OneClickCommoniser.js]]
"http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + wgPageName
 
+ "?client=script&citeweb=on&overwrite=&limit=20&lang=" + wgContentLanguage,
 
"Reflinks" // link label
 
)});
 
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",
"httphttps://en.wikipedia.org/wiki/User:MlpearcFlightTime/Workshop#Shop",
"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",
"WorkShopNew files", "pt-acctool", "Link to Mlpearc'snew workshopfiles",
"A", document.getElementById("pt-logout"));
mw.util.addPortletLink( "p-personal",
"https://en.wikipedia.org/wiki/Category:Wikipedia_files_requiring_renaming",
"RfPRename files", "pt-acctool", "Link to Requestsrename forfile Permissionscategory",
"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 );