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

Content deleted Content added
add RfP lnk
Update
 
(44 intermediate revisions by 3 users not shown)
Line 1:
importScript('User:FlightTime/Strike-blocked.js'); // [[User:FlightTime/Strike-blocked.js]]
// Add [[WP:Reflinks]] launcher in the toolbox on left
importScript('User:Jackmcbarn/editProtectedHelper.js'); // [[User:Jackmcbarn/editProtectedHelper.js]]
addOnloadHook(function () {
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // [[User:Ohconfucius/script/MOSNUM dates.js]]
addPortletLink(
importScript('User:Ohconfucius/script/Common Terms.js'); // [[User:Ohconfucius/script/Common Terms.js]]
"p-tb", // toolbox portlet
 
"http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + wgPageName
 
+ "?client=script&citeweb=on&overwrite=&limit=20&lang=" + wgContentLanguage,
importScript( 'User:Evad37/Watchlist-hideAWB.js' ); // [[User:Evad37/Watchlist-hideAWB]]
"Reflinks" // link label
var awbHiddenByDefault = true;
)});
 
addOnloadHook(function () {
 
addPortletLink( "p-personal",
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ATheopolisme%2FScripts%2Fadminhighlighter.js&action=raw&ctype=text/javascript');
"http://en.wikipedia.org/wiki/Wikipedia:Requests_for_permissions#Current requests",
//[[User:Theopolisme/Scripts/adminhighlighter.js]]
"RfP", "pt-acctool", "Link to Requests for Permissions",
window.ADMINHIGHLIGHT_EXTLINKS = true;
"A", document.getElementById("pt-logout"));
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",
"RfPNew files", "pt-acctool", "Link to Requests fornew Permissionsfiles",
"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 );