User:MrMeAndMrMe/common.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/**
* SWViewer
* See [https://meta.wikimedia.org/wiki/SWViewer]
* Authored by Tulsi Bhagat [https://meta.wikimedia.org/wiki/User:Tulsi_Bhagat]
* Shortcut key [alt-shift-v]
*/
mw.loader.using( [ 'mediawiki.util' ], function() {
"use strict";
mw.util.addPortletLink(
'p-tb',
'//swviewer.toolforge.org/',
'SWViewer',
't-swviewer',
'Launch SWViewer',
'v',
'#t-info'
);
});
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');
if(typeof(smartRollbackConfig) === 'undefined') smartRollbackConfig = {};
smartRollbackConfig.editSummaries = {};
smartRollbackConfig.editSummaries[0] = 'Revert; Vandalism';
smartRollbackConfig.editSummaries[1] = 'Test edits/Assume Good Faith';
smartRollbackConfig.editSummaries[2] = 'UNexplained addition/Removal of huge text';
smartRollbackConfig.editSummaries[3] = 'Link Spamming/Promotional Links/Self Published Links';
smartRollbackConfig.editSummaries[4] = 'Mass changes to the content without consensus/sources/references';
smartRollbackConfig.editSummaries[5] = 'Nonsense/gibberish text/not in project language';
smartRollbackConfig.editSummaries[6] = 'Removal of deletion tags';
// Tells if references are reliable or not
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Headbomb/unreliable.js&action=raw&ctype=text/javascript");
// What is this though
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Ugog Nizdast/displayNumberOfTags.js&action=raw&ctype=text/javascript");
// Diffedit - change edits upon seeing it
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:Jon_Harald_Søby/diffedit.js&action=raw&ctype=text/javascript' );
/* Cat-a-lot - changes category of multiple files */
mw.loader.using(['jquery.ui', 'mediawiki.util'], function(){
mw.loader.load('//commons.wikimedia.org/w/load.php?modules=ext.gadget.Cat-a-lot');
});
////////// Cat-a-lot user preferences //////////
window.catALotPrefs = {"minor":true,"editpages":true,"docleanup":false,"subcatcount":100};
//enwiki tab
mw.loader.load("//simple.wikipedia.org/w/index.php?title=User:Operator873/enWPTab.js&action=raw&ctype=text/javascript"); //[[User:Operator873/enWPTab.js]]
//reset talk page [[User:DannyS712/Reset talk.js]]
mw.loader.load("//simple.wikipedia.org/w/index.php?title=User:DannyS712/Reset talk.js&action=raw&ctype=text/javascript");
//status sidebar
mw.loader.using( [ 'mediawiki.util' ], function() {
"use strict";
mw.util.addPortletLink(
'p-tb',
'https://simple.wikipedia.org/wiki/User:MrMeAndMrMe/Status',
'User Status',
'User Status',
'User Status',
'`',
'#t-info'
);
});