User:IamNotU/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin can be added at User:IamNotU/common.css. |
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]]