Weitere Optionen
CF (Diskussion | Beiträge) nach MediaWiki:Common.js ausgelagert |
Erlaubt nur Sichtern und Admins die Benutzung von HotCat |
||
| Zeile 245: | Zeile 245: | ||
if ($j('.references li').size() < 6) | if ($j('.references li').size() < 6) | ||
$j('.references').parent().css({ 'column-count': '1', '-moz-column-count': '1', '-webkit-column-count': '1' }); | $j('.references').parent().css({ 'column-count': '1', '-moz-column-count': '1', '-webkit-column-count': '1' }); | ||
} | |||
// Erlaubt nur Sichtern und Admins die Benutzung von HotCat | |||
if (wgUserGroups) { | |||
execute_hotcat=false; | |||
for (i=0; i<wgUserGroups.length; i++) { | |||
if (wgUserGroups[i]=="editor" || wgUserGroups[i]=="sysop") {execute_hotcat=true;break;} | |||
} | |||
if(execute_hotcat==true) importScript('MediaWiki:HotCat.js'); | |||
} | } | ||