User:Colin M/common.js

Source: Wikipedia, the free encyclopedia.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
importScript( 'User:PrimeHunter/Source links.js' ); // Backlink: [[User:PrimeHunter/Source links.js]]
mw.loader.load( '/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Joeytje50/JWB.js/load.js]]
importScript( 'User:Enterprisey/diff-permalink.js' ); // Backlink: [[User:Enterprisey/diff-permalink.js]]
importScript( 'User:Andy M. Wang/pageswap.js' ); // Backlink: [[User:Andy M. Wang/pageswap]]
var moveReasonDefault = "per RM";

importScript( 'User:Evad37/OneClickArchiver.js' ); // Backlink: [[User:Evad37/OneClickArchiver]]
importScript( 'User:DannyS712/DiscussionCloser.js' );// [[User:DannyS712/DiscussionCloser.js]]
importScript('User:TheTVExpert/rmCloser.js'); // Backlink: [[User:TheTVExpert/rmCloser.js]]

// Move history script
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/MoveHistory.js&action=raw&ctype=text/javascript');

// config navigation popups for dab fixing
window.popupFixDabs = true;
/*

importScript('User:Colin M/scripts/HideZeroSumEdits.js'); // [[User:Colin M/scripts/HideZeroSumEdits.js]]
importScript('User:Colin M/scripts/MarkAsRead.js'); // [[User:Colin M/scripts/MarkAsRead.js]]

// JWB
importScript( 'User:Joeytje50/JWB.js/load.js' ); // Backlink: [[User:Joeytje50/JWB.js/load.js]]

window.hotcat_single_changes_are_minor = true;

importScript( 'User:Enterprisey/diff-permalink.js' ); // Backlink: [[User:Enterprisey/diff-permalink.js]]

//importScript( 'User:Colin M/scripts/JWB annotated.js/loader.js' ); // Backlink: [[User:Colin M/scripts/JWB annotated.js/loader.js]]
importScript('User:SD0001/hide-reverted-edits.js'); // Backlink: [[User:SD0001/hide-reverted-edits.js]]
importScript('User:DannyS712/PageMoverClosure.js'); // Backlink: [[User:DannyS712/PageMoverClosure.js]]

importScript( 'User:Andy M. Wang/pageswap.js' ); // Backlink: [[User:Andy M. Wang/pageswap]]
*/

// Doesn't seem to work. Maybe with old watchlist interface?
//importScript('User:Kephir/gadgets/hollis.js'); // [[User:Kephir/gadgets/hollis]]

// Tried to fix, but only got as far as making it not obviously broken. Doesn't
// seem to actually show "Since last seen" diff - most (all?) of the time it just
// seems equivalent to the combined diff of the day's combined edits (which is already accessible in the default UI)
//importScript('User:Colin M/gadgets/hollis debug.js');

/* Asdf, this doesn't work either. Are all these scripts intended for the old watchlist UI? Should look more into this :/
if ( typeof mw.libs.listPageOptions !== "object" ) {
   mw.libs.listPageOptions  =  { };
}
mw.libs.listPageOptions.learnt = true;
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/listPageOptions/r.js&action=raw&bcache=1&maxage=86400&ctype=text/javascript",
               "text/javascript");
*/

// This seems potentially useful, but it's pretty annoying that it removes any way to follow the redirect target. Disabling for now.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AWugapodes%2FCapricorn.js&action=raw&ctype=text/javascript'); // [[User:Wugapodes/Capricorn.js]]
importScript('User:Novem Linguae/Scripts/GANReviewTool.js'); // Backlink: [[User:Novem Linguae/Scripts/GANReviewTool.js]]