User:YassinSalam32/common.js

var prefLangs = ["en", "simple", "ar",]; var prefClasses = $.map(prefLangs, function(lang) { return '.interwiki-' + lang; }); var prefElems = $(prefClasses.join(', ')); prefElems.parent.prepend(" ").prepend(prefElems);

var highlitLangs = ["en", "simple", "hu"]; var highlitClasses = $.map(highlitLangs, function(lang) { return '.interwiki-' + lang; }); var highlitElems = $(highlitClasses.join(', ')); highlitElems.css('font-weight', 'bold');