User:01miki10/global.js

window.nullEditDelay = 1500; mw.loader.load( 'https://dev.fandom.com/load.php?mode=articles&articles=MediaWiki:WhatLinksHere/code.js|MediaWiki:MassNullEdit/code.js|MediaWiki:NullEditButton/code.js|MediaWiki:NoImageLightbox/code.js&only=scripts' );

/* change interface to content language */ mw.loader.using( ['mediawiki.api', 'user.options'], function {	var lang = mw.config.get( 'wgContentLanguage' );	if ( lang !== mw.user.options.get( 'language' ) ) {		var api = new mw.Api;		api.saveOption( 'language', lang ).then( console.log( 'Interface language set to ' + lang ) );	} } );