MediaWiki:Skin/Trommel.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (socke von... *ofdead) |
K (derzeit nur Trolle als newcomer) |
||
Zeile 1: | Zeile 1: | ||
+ | var kamgroup = mw.config.get( 'wgUserGroups' ); | ||
var trolle = new Array('Fips', 'Spacko', 'Daniel Boone','Legsofdead','Hairsofdead','Eyesofdead ','Und'); | var trolle = new Array('Fips', 'Spacko', 'Daniel Boone','Legsofdead','Hairsofdead','Eyesofdead ','Und'); | ||
− | if ($.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/404"; | window.location.href="http://kamelopedia.mormo.org/index.php/404"; | ||
} | } |
Version vom 24. März 2014, 11:19 Uhr
var kamgroup = mw.config.get( 'wgUserGroups' );
var trolle = new Array('Fips', 'Spacko', 'Daniel Boone','Legsofdead','Hairsofdead','Eyesofdead ','Und');
if ($.inArray("autoconfirmed", kamgroup) == -1 || $.inArray(mw.config.get('wgUserName'), trolle) != -1){
$('#buschtrommel').remove();
window.location.href="http://kamelopedia.mormo.org/index.php/404";
}