MediaWiki talk:Gadget-FastRevert.js
Latest comment: 2 years ago by Fytcha in topic Why does the loop in line 18 only iterate for i<length-1?
Why does the loop in line 18 only iterate for i<length-1?
[edit]I think this must be the reason why the gadget doesn't add a revert button next to the first edit. I've run into this limitation many times, just now over at Rhymes:Polish/isat͡ɕ for instance. Fytcha (talk) 12:04, 9 December 2021 (UTC)
- @Erutuon: Could you please have a look at this? Fytcha (talk) 20:08, 13 December 2021 (UTC)
- @Fytcha: Yeah, that was it. I have no idea why it was
length - 1
; that change was introduced in this edit. Maybe it was a mistake. — Eru·tuon 04:11, 14 December 2021 (UTC)- @Erutuon: Thanks for looking into it! Fytcha (talk) 11:51, 14 December 2021 (UTC)
- @Fytcha: Yeah, that was it. I have no idea why it was