Content deleted Content added
No edit summary |
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink) |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1:
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]]
Line 12 ⟶ 16:
importScript('User:Amalthea/userhighlighter.js');
importScript("User:GregU/dashes.js");
importScript('User:TheJosh/Scripts/NewPagePatrol.js');
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]
Line 18 ⟶ 26:
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");
}
}
function rollbackEverything() {
for (var i in document.links) {
Line 29 ⟶ 37:
}
}
mw.util.addPortletLink(
'p-personal',
Line 39 ⟶ 47:
'#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
|