wikimedia-gadgets / afc-helper

A tool for reviewing Articles for Creation submissions on the English Wikipedia
https://en.wikipedia.org/wiki/Wikipedia:AFCH
GNU General Public License v3.0
36 stars 80 forks source link

submit as someone else: typing a username very fast causes problems #346

Open NovemLinguae opened 7 months ago

NovemLinguae commented 7 months ago

Because the detected username gets cut off.

The keydown listener probably needs a timer. Go look at the code for detecting if an article exists in the handleAccept() method. I haven't noticed this problem with that code.

image