User:Phlsph7/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 is at User:Phlsph7/common.css. |
// shows monthly views, watchers, size, and word count on every page
importScript('User:Phlsph7/MonthlyViewsAndWatchers.js');
// marks unreliable sources
importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]
// marks duplicate links
importScript('User:Phlsph7/MarkDuplicateLinks.js');
// unfolds and numbers the TOC of the new Vector 2022 skin
importScript('User:Phlsph7/UnfoldedNumberedTOC(Vector2022).js'); // [[User:Phlsph7/UnfoldedNumberedTOC(Vector2022).js]]
// highlights unreferenced passages
importScript('User:Phlsph7/HighlightUnreferencedPassages.js'); // Backlink: [[User:Phlsph7/HighlightUnreferencedPassages.js]]
//highlightUnreferencedPassagesAutomatic = true;
// show errors when using templates like "harv" and "sfn"
importScript('User:Ucucha/HarvErrors.js'); // Backlink: [[User:Ucucha/HarvErrors.js]]
//importScript('User:Lingzhi2/reviewsourcecheck.js'); // Backlink: [[User:Lingzhi2/reviewsourcecheck.js]]
//setTimeout(function(){document.getElementById('ca-showCk').click()}, 3000); // automatically active after loading
// detect unreliable sources based on URL
importScript( 'User:Novem Linguae/Scripts/CiteHighlighter.js' ); // Backlink: [[User:Novem Linguae/Scripts/CiteHighlighter.js]]
// Classical table of contents for Vector 2022 skin
importScript('User:Phlsph7/ClassicalTOC(Vector2022).js'); // Backlink: [[User:Phlsph7/ClassicalTOC(Vector2022).js]]
// Highlight duplicated references
importScript('User:Chlod/Scripts/DuplicatedRefs.js'); // Backlink: [[User:Chlod/Scripts/DuplicatedRefs.js]]
// Highlight sentences by readability
importScript('User:Phlsph7/Readability.js'); // Backlink: [[User:Phlsph7/Readability.js]]
// WikiChatbot
importScript('User:Phlsph7/WikiChatbot.js'); // Backlink: [[User:Phlsph7/WikiChatbot.js]]
importScript('User:Phlsph7/ListUnreferencedParagraphs.js'); // Backlink: [[User:Phlsph7/ListUnreferencedParagraphs.js]]
importScript('User:SD0001/GAR-helper.js'); // [[User:SD0001/GAR-helper.js]]
importScript( 'User:Novem Linguae/Scripts/GANReviewTool.js' ); // Backlink: [[User:Novem Linguae/Scripts/GANReviewTool.js]]
importScript( 'User:SuperHamster/CiteUnseen.js' ); // Backlink: [[User:SuperHamster/CiteUnseen.js]]
importScript(`User:Phlsph7/SpellGrammarHelper.js`); // Backlink: [[User:Phlsph7/SpellGrammarHelper.js]]
importScript(`User:Phlsph7/AlphabeticToolbox.js`); // Backlink: [[User:Phlsph7/AlphabeticToolbox.js]]
// always scroll to top when previewing
(function(){
const allowedActions = ['edit', 'submit'];
if(allowedActions.indexOf(mw.config.get("wgAction")) != -1){
setTimeout(function() {
window.scrollTo({ top: 0});
}, 1000);
}
})();