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

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
K (Test)
K (Revert: Vandalismus)
Zeile 1: Zeile 1:
 
var kamgroup    = mw.config.get( 'wgUserGroups' );
 
var kamgroup    = mw.config.get( 'wgUserGroups' );
var trolle = new Array('Phorgo', '', '', '', '');
+
var trolle = new Array('', '', '', '', '');
 
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 12. September 2012, 18:14 Uhr

var kamgroup    = mw.config.get( 'wgUserGroups' );
var trolle = new Array('', '', '', '', '');
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"
}