Wikiskryba:Saper/Gadget-proofread-history.js: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
jsMessage prefi
log
Linia 46:
if (that.state == 'hidden' || that.state == 'visible') {
that.fetchHistory();
} */
} /* else if (that.state == 'visible') {
that.hideHistory();
} */
};
},
Linia 105 ⟶ 103:
};
if (revision.hasOwnProperty('user')) {
historyentry.user = revision.user;
}
if (revision.hasOwnProperty('userhidden')) {
historyentry.userhidden = revision.userhidden;
}
this.history.unshift(historyentry);
Linia 175 ⟶ 173:
var status = document.createElement('span');
status.style.fontStyle = 'italic';
status.appendChild(documentdeocument.createTextNode(this.statuses[entry.level]));
line.appendChild(status);
 
message.appendChild(line);
}
mw.utillog.jsMessagelog(message);
}
},
 
hideHistory: function() {
this.state = 'hidden';
mw.util.jsMessage('');
}
};