User:Kevingr/global.js

/* Language is set to German for de-wikis even if default is English */ if ( mw.util.getParamValue( 'uselang' ) === null && mw.config.get( 'wgContentLanguage' ) === 'de' ) { location = (new mw.Uri( location.toString )).extend( { uselang : 'de' } ); }

/* Language is set to English for non-de-wikis even if default is German */