importScript('User:FlightTime/Strike-blocked.js'); // [[User:FlightTime/Strike-blocked.js]]
importScriptURI('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');
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:Ais523/adminrights.js');
importScript( 'User:DrilnothEvad37/lefteditlinksWatchlist-hideAWB.js' ); // [[User:Evad37/Watchlist-hideAWB]]
var awbHiddenByDefault = true;
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');
addOnloadHook(function () {
addPortletLink( "p-personal",
"http://en.wikipedia.org/wiki/User:Mlpearc/Status",
"Status", "pt-acctool", "Status",
"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');
addOnloadHook(function () {
//[[User:Theopolisme/Scripts/adminhighlighter.js]]
addPortletLink( "p-personal",
window.ADMINHIGHLIGHT_EXTLINKS = true;
"http://en.wikipedia.org/wiki/User:Mlpearc/Workshop#Frequently_used_stuff",
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/OneClickCommoniser.js&action=raw&ctype=text/javascript');
"Workshop", "pt-acctool", "Lnk to my Workshop",
//[[File:Krinkle_OneClickCommoniser.js]]
"A", document.getElementById("pt-logout"));
});
addOnloadHook(function () {
addPortletLink( "p-personal",
"http://en.wikipedia.org/wiki/Special:NewFiles",
"New Files", "pt-acctool", "New Files",
"A", document.getElementById("pt-logout"));
});
addOnloadHook(function () {
addPortletLink( "p-personal",
"http://en.wikipedia.org/wiki/User:Mlpearc/Xtra_workshop",
"Xtra Workshop", "pt-acctool", "Xtra 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"));
});
LocalComments = {
dateDifference: true,
dateFormat: 'mdy',
timeFirst: true,
twentyFourHours: false,
dayOfWeek: true,
dropDays: 0,
dropMonths: 0
};
function setupPortalLinks() {
// Add [[WP:Reflinks]] launcher in the toolbox on left
mw.util.addPortletLink( "p-personal",
addOnloadHook(function () {
"https://en.wikipedia.org/wiki/User:FlightTime_Public/Status",
addPortletLink(
"Status", "pt-acctool", "Lnk to Status page",
"p-tb", // toolbox portlet
"A", document.getElementById("pt-logout"));
"http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + wgPageName
mw.util.addPortletLink( "p-personal",
+ "?client=script&citeweb=on&overwrite=&limit=20&lang=" + wgContentLanguage,
"https://en.wikipedia.org/wiki/User:FlightTime/Workshop",
"Reflinks" // link label
"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",
*** Regex menu framework
"CSD log", "pt-acctool", "CSD log",
*** by [[m:user:Pathoschild]] <http://meta.wikimedia.org/wiki/User:Pathoschild/Scripts/Regex_menu_framework>
"A", document.getElementById("pt-logout"));
*** - adds a sidebar menu of user-defined scripts.
mw.util.addPortletLink( "p-personal",
*************/
"https://en.wikipedia.org/wiki/Special:NewFiles",
importScriptURI('http://meta.wikimedia.org/w/index.php?title=User:Pathoschild/Scripts/Regex_menu_framework.js&action=raw&ctype=text/javascript');
"New files", "pt-acctool", "Link to new files",
"A", document.getElementById("pt-logout"));
/* menu links */
mw.util.addPortletLink( "p-personal",
// In the function below, add more lines like "regexTool('link text','function_name()')" to add
"https://en.wikipedia.org/wiki/Category:Wikipedia_files_requiring_renaming",
// links to the sidebar menu. The function name is the function defined in rfmscripts() below.
"Rename files", "pt-acctool", "Link to rename file category",
function rmflinks() {
"A", document.getElementById("pt-logout"));
regexTool('Custom regex','custom()'); // a default tool which performs regex input in a dynamic form
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"));
}
/* scripts */
// Below, define the functions linked to from rmflinks() above. These functions can use any JavaScript,
// but there is a set of simplified tools documented at
// http://meta.wikimedia.org/wiki/User:Pathoschild/Script:Regex_menu_framework .
/*************
***
*** Trial Run
***
*************/
$.when( mw.loader.using(['mediawiki.util']), $.ready ).done( setupPortalLinks );
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' + '&action=raw&ctype=text/javascript');
// [[File:Krinkle_RTRC.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/RTRC.js&action=raw&ctype=text/javascript');
// [[File:Krinkle_OneClickCommoniser.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/OneClickCommoniser.js&action=raw&ctype=text/javascript');
|