User:Jethro B/common.js
Appearance
(Redirected from User:Activism1234/common.js)
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:Jethro B/common.css. |
importScript('User:Porchcorpter/rollback.js');
importScript('User:Equazcion/SidebarHistoryTools.js');
importScript('User:Kephir/gadgets/rater.js'); // [[User:Kephir/gadgets/rater]]
importScript('User:Ohconfucius/script/Common Terms.js'); //[[User:Ohconfucius/script/Common Terms.js]]
importScript('User:Ohconfucius/script/MOSNUM dates.js'); //[[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:Equazcion/SidebarTranslate.js'); //[[User:Equazcion/SidebarTranslate]]
importScript('User:Writ Keeper/Scripts/SearchNamespace.js');
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importScript('User:Amalthea/userhighlighter.js');
importScript("User:GregU/dashes.js");
importScript('User:TheJosh/Scripts/NewPagePatrol.js');
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]
function rollbackEverythingButton() {
var hasRollback = getElementsByClassName(document, "span", "mw-rollback-link");
if (hasRollback[0] && (document.title.indexOf("User contributions") != -1) ) {
mw.util.addPortletLink('p-cactions', 'javascript:rollbackEverything()', "rollback all", "ca-rollbackeverything", "rollback all edits displayed here");
}
}
$(rollbackEverythingButton);
function rollbackEverything() {
for (var i in document.links) {
if (document.links[i].href.indexOf('action=rollback') != -1) {
window.open(document.links[i].href);
}
}
}
mw.util.addPortletLink(
'p-personal',
'/wiki/Special:PrefixIndex/User:AnkhMorpork',
'My subpages',
'pt-mysubpages',
'Show my subpages',
null,
'#pt-preferences'
);
importScript("User:Writ Keeper/Scripts/teahouseUtility.js"); // Gives one-click option to add Teahouse invitation or talkback to a user
importScript("User:Writ Keeper/Scripts/teahouseTalkback.js"); // Adds Talkback reminder when you save an edit at the Teahouse
importScript("User:Writ Keeper/Scripts/teahouseTalkbackLink.js"); // Adds a talkback link to signatures on the Teahouse
importScript('User:Equazcion/TeahouseRespond.js'); // Adds a styled "respond to this discussion" link on the Q&A questions