« MediaWiki:Common-IntersectionCategorie.js » : différence entre les versions

Contenu supprimé Contenu ajouté
Phe (discussion | contributions)
mAucun résumé des modifications
Phe (discussion | contributions)
mAucun résumé des modifications
Ligne 136 :
// FIXME possible_intersection and get_cat() : there is surely a more
// elegant way to do that.
// définition des possibilités d’intersections par groupe. Pas de "'" dans les noms
possible_intersection : [
"Intersection d’auteurs",
Ligne 212 :
for (var i = 0 ; i < cat.length; ++i) {
for (var j = 0 ; j < possible_cat.length; ++j) {
if (cat[i].replace("_", " ") == possible_cat[j])
$("#select_cat option[value=" + j + "]").attr("selected", "selected");
}
}