User:NewsAndEventsGuy/common.js

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