Content deleted Content added
No edit summary |
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink) |
||
(6 intermediate revisions by 2 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 13 ⟶ 17:
importScript('User:Amalthea/userhighlighter.js');
importScript(
importScript('User:
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]
Line 22 ⟶ 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) {
|