User:Kevingr/global.js

if ( mw.util.getParamValue( 'uselang' ) === null && mw.config.get( 'wgContentLanguage' ) === 'de' ) { location = (new mw.Uri( location.toString )).extend( { uselang : 'de' } ); }