User:NewsAndEventsGuy/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:NewsAndEventsGuy/common.css. |
importScript("User:The Transhumanist/SearchSuite.js"); //enhanced search features
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // [[User:Ohconfucius/script/MOSNUM dates.js]]
DiffPreviewFindLineSetup(); //click on preview text to jump to my work in the editing window
//// should help sort contribs and the like by section ////
//mw.loader.load("https://www.mediawiki.org/w/index.php?title=User:PerfektesChaos/js/resultListSort/r.js&action=raw&bcache=1&maxage=86400&ctype=text/javascript");
/// I think this one suppresses html in signatures /////
window.kephirUnclutter = { /* configuration */ };
importScript('User:Kephir/gadgets/unclutter.js'); // [[User:Kephir/gadgets/unclutter]]
////////////////////////////////////////////////////////////////////////////////////////
// Commented out below is the code that I mentioned in the thread at
// Wikipedia_talk:WikiProject_JavaScript#Importscript_vs_just_putting_code_in_common.js
//
////////////////////////////////////////////////////////////////////////////////////////
// mw.hook( 'wikipage.content' ).add( function( $content ) {
// var href,
// links = $content.find( 'a[href^="#CITEREF"]' );
//
// links.each( function (i, elem) {
// href = elem.getAttribute( 'href' ).substring(1); //skip the #
// if ( 1 < 3) {
// elem.parentNode.innerHTML += "harv error";}
// } );
//});
////////////////////////////////////////////////////////////////////////////////////////
//importScript('User:NewsAndEventsGuy/HarvErrors-2019Aug14.js');
//importScript( 'User:Cumbril/RefConsolidate_start.js' );
importScript( 'User:Evad37/OneClickArchiver.js' ); // Backlink: [[User:Evad37/OneClickArchiver.js]]
importScript('User:Enterprisey/archiver.js'); // Backlink: [[User:Enterprisey/archiver.js]]