« MediaWiki:Common-IntersectionCategorie.js » : différence entre les versions
Contenu supprimé Contenu ajouté
mAucun résumé des modifications |
m lien suivant seulement si nécessaire |
||
Ligne 1 :
/*
* Author: w:fr:Phe
*
Ligne 38 :
*/
special_pagename : {
"fr" : "
},
possible_intersection_list : {
"fr" : [ "Intersection
},
Ligne 67 :
add_dpl_result_to_page : function (datas) {
$("#output_result").html(text);
this.add_prev_next_link(text.split("<li>").length > 200);▼
},
Ligne 106 ⟶ 108 :
build_dpl_query_str : function (query) {
return "<DynamicPageList>\n"
+ "count = " + (query.count + 1) + "\n"
+ "offset = " + query.offset + "\n"
+ "order = sortkey\n"
Ligne 213 ⟶ 215 :
},
add_prev_next_link : function (next) {
var query = this.query_from_url();
if (query.offset) {
Ligne 223 ⟶ 225 :
query.offset = old_offset;
}
query.offset += 200;
$("#
$("#
}
▲ $("#next_link2").html("<a href='" + url + "'>" + $("#next_link2").text() + "</a>");
},
Ligne 272 ⟶ 274 :
$("#root_cat_search").css("display", "none");
var list = this.get_possible_intersection_list();
this.possible_intersection = { };
▲ };
for (var i = 0; i < list.length; ++i)
this.possible_intersection[list[i]] = [];
Ligne 281 ⟶ 282 :
this.add_dropdown_list();
this.exec_query_from_url();
▲ this.add_prev_next_link();
this.get_category_data();
}
|