User:Fbstj/stats/thanks

From The Coppermind
Jump to navigation Jump to search

as of 2018-07-11 there are 1924 thanks in the system, going back to 2014-09-17. 243 were given by others. 165 were given by others to others:

Map.prototype.increment = function(key) { if (!this.has(key)) this.set(key, 0); this.set(key, this.get(key) + 1); }
let from = new Map, to = new Map
$$('.mw-logline-thanks').forEach(el => { let [f,t] = el.querySelectorAll('.mw-userlink'); from.increment(f.innerText); to.increment(t.innerText); })