MediaWiki:Skin/Trommel.js: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
K
K
Zeile 1: Zeile 1:
 
var kamgroup    = mw.config.get( 'wgUserGroups' );
 
var kamgroup    = mw.config.get( 'wgUserGroups' );
var trolle = new Array('TIM SCHULZ', 'Sean-das-schaf', '', '', '');
+
var trolle = new Array('TIM SCHULZ', 'Sean-das-schaf', 'Timy', '', '');
 
if ($.inArray("autoconfirmed", kamgroup) == -1 || $.inArray(mw.config.get('wgUserName'), trolle) != -1){
 
if ($.inArray("autoconfirmed", kamgroup) == -1 || $.inArray(mw.config.get('wgUserName'), trolle) != -1){
 
     $('#buschtrommel').remove();
 
     $('#buschtrommel').remove();
 
     window.location.href="http://kamelopedia.mormo.org/index.php/Kamelopedia:Hauptseite"
 
     window.location.href="http://kamelopedia.mormo.org/index.php/Kamelopedia:Hauptseite"
 
}
 
}

Version vom 14. September 2012, 17:25 Uhr

var kamgroup    = mw.config.get( 'wgUserGroups' );
var trolle = new Array('TIM SCHULZ', 'Sean-das-schaf', 'Timy', '', '');
if ($.inArray("autoconfirmed", kamgroup) == -1 || $.inArray(mw.config.get('wgUserName'), trolle) != -1){
    $('#buschtrommel').remove();
    window.location.href="http://kamelopedia.mormo.org/index.php/Kamelopedia:Hauptseite"
}