MediaWiki:Skin/Trommel.js: Unterschied zwischen den Versionen
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', '', '', '', ''); | var trolle = new Array('TIM SCHULZ', '', '', '', ''); | ||
− | if ($.inArray("autoconfirmed", kamgroup) == -1 || $.inArray(mw.config.get('wgUserName'), trolle) ! | + | 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 13. September 2012, 19:08 Uhr
var kamgroup = mw.config.get( 'wgUserGroups' );
var trolle = new Array('TIM SCHULZ', '', '', '', '');
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"
}