User:Alexander Davronov/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:Alexander Davronov/common.css. |
// Highlight WP:BKFIP summaries
// See https://en.wikipedia.org/wiki/Wikipedia:Long-term_abuse/Best_known_for_IP
window.HistoryHelper={};
window.HistoryHelper.highlights=[
/((low-quality|intractable|chronic)?\s{1,4}poor|appalling|infantile|grotesque|incorrect)(\s{1,4}([Ee]nglish|style|stylish)?(\s{1,4})?(errors|blunders))?/ig
,/badly[\- ]written|harmful|vandal(i[sz]ing)|russian/ig
,/Alexander Davronov/ig
,/(decent\s{1,3})?[En]nglish|CONTRACTIONS/ig
,/(garbage edit(s)?)/gi
,/(in)?competence/gi
];
importScript('User:Theopolisme/Scripts/autocompleter.js'); // Completes editor's input
// importScript('User:Enterprisey/reply-link.js'); // Inline reply on talk pages
importScript('User:Headbomb/unreliable.js') // Highlight unreliable sources
importScript('User:Alexander Davronov/HistoryHelper.js'); // Diff-copy/paste helper for revisions
importScript('User:Novem Linguae/Scripts/CiteHighlighter.js'); // Highlight unreliable sources
importScript('User:Theopolisme/Scripts/adminhighlighter.js'); // Highlight sysops
importScript('User:Amorymeltzer/crathighlighter.js');
importScript('User:Anne drew Andrew and Drew/admintagger.js'); // Add emoji to users like admins, stewards etc.
// See https://commons.wikimedia.org/wiki/User:Jack_who_built_the_house/Convenient_Discussions
mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Jack_who_built_the_house/convenientDiscussions.js&action=raw&ctype=text/javascript');
mw.loader.load('User:SD0001/DiscussionCloser.js'); // Discussion closer
mw.loader.load('User:BrandonXLF/FindSources.js'); // Add source-finding links at the top of the article
//#CONFIGURATION
//----------------------------------------------------------------------------
// Configure reply-link.js
// See https://en.wikipedia.org/wiki/User:Enterprisey/reply-link.js#L-2064
// window.replyLinkPreloadPingTpl = "{{re|##}} {{tqqi|''... ...''}}";
window["convenientDiscussions"] && setTimeout(function(){
convenientDiscussions.config.scriptPageWikilink = ""
}, 2000);