User:Mario Rk/global.js

// HydraRevived importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:HydraRevived.js',    ] });

// MisspelledPage importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MisspelledPage/code.js',    ] });

// RemoveTracking mw.loader.using( 'mediawiki.cookie', function {   'use strict';

if ( window.RemoveTrackingLoaded ) return; window.RemoveTrackingLoaded = true;

window.dev = window.dev || {}; window.dev.forceRemoveTracking = window.dev.forceRemoveTracking || true;

if ( mw.cookie.get( 'tracking-opt-in-status', '' ) === 'rejected' || window.dev.forceRemoveTracking ) { var trackers = document.querySelectorAll( '[data-tracking-label], [data-tracking]' );

if ( !trackers ) return;

trackers.forEach( function( tracker ) {           // Remove tracking attributes from elements            tracker.removeAttribute( 'data-tracking' );            tracker.removeAttribute( 'data-tracking-label' );        } ); } } );

// SearchSuggest importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:SearchSuggest/code.js',    ] });