Content deleted Content added
mNo edit summary |
mNo edit summary |
||
Line 105:
}
function output_main_report(data) {▼
function add_basic_stats(left_col, right_col) {
var row = document.createElement("tr");
var left = document.createElement("td");
var right = document.createElement("td");
document.getElementById("basic_stats").appendChild(row);
row.appendChild(left);
row.appendChild(right);
left.innerHTML = left_col;
right.appendChild( document.createTextNode(right_col) );
}
var table = document.createElement("table");
table.id = "basic_stats";
document.getElementById("bodyContent").appendChild(table);
add_basic_stats("<i>Total # edits</i>", history.length);
add_basic_stats("<i>First edit</i>", history[ history.length-1 ]["date_text"] ););
}
Line 129 ⟶ 148:
function fetch_data(username, end_date, handler, offset, page_list) {
add_loading_notice();
var url = prefix + "Special:Contributions/" + username + "?offset=" + offset + "&limit=
loadXMLDoc(url,
function (request) {
Line 204 ⟶ 223:
dump_object(history_entry);
if (history_entry["title"] != last_history_ent["title"] || history_entry["oldid"] != last_history_ent["oldid"])
|