Jump to content

User:IamNotU/common.js

From 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:Salix alba/Citoid.js');
importScript( 'User:Equazcion/LiveDiffLink.js' ); // Backlink: [[User:Equazcion/LiveDiffLink.js]]
importScript( 'User:Evad37/TextDiff.js' ); // Backlink: [[User:Evad37/TextDiff.js]]
// Create a link below "What links here" that shows links only in the article source, not from templates that include it.
// See https://phabricator.wikimedia.org/T14396
importScript('User:PrimeHunter/Source links.js'); // Linkback: [[User:PrimeHunter/Source links.js]]
importScript('User:Ohconfucius/script/EngvarB.js'); // [[User:Ohconfucius/script/EngvarB.js]]
importScript('User:Writ Keeper/Scripts/massRollback.js'); // Backlink: [[User:Writ Keeper/Scripts/massRollback.js]]
// Three scripts needed for the "user history" function to work. Writ Keeper's userHistory.js should replace Ale jrb's userhist.js, but it's 
// broken and doesn't work. If you install both, then it works, but the diffs aren't highlighted etc. 
// If you install commonHistory.js, then that works too. Supposedly there's no overlap between commonHistory and userHistory, but there is.
importScript('User:Ale jrb/Scripts/userhist.js'); // Backlink: [[User:Ale jrb/Scripts/userhist.js]]
inspectText = "diff";
showText = "diff +";
hideText = "diff -";
importScript('User:Writ_Keeper/Scripts/commonHistory.js'); // Backlink: [[User:Writ_Keeper/Scripts/commonHistory.js]]
importScript('User:Writ_Keeper/Scripts/userHistory.js'); // Backlink: [[User:Writ_Keeper/Scripts/userHistory.js]]
importScript('User:קיפודנחש/apiRollback.js'); // Backlink: [[User:קיפודנחש/apiRollback.js]]
// Dark mode script [[User:Volker E. (WMF)/dark-mode]]
// Yeah, no. Sidebar etc. is still white, big flash on page load, and syntax coloring is not good.
// mw.loader.load( 'https://en.wikipedia.org/w/index.php?title=User:Volker_E._(WMF)/dark-mode.js&action=raw&ctype=text/javascript');
// mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:RedWarn/.js]]