User talk:Doc Taxon/review.js

A bug in this script
It seems that you have the values for the 'undoafter' and 'undo' parameters switched around in this script. 'undoafter' is supposed to be the earlier revision and 'undo' the later.

The API currently swaps these for you when the revision ID passed to 'undo' is less than that passed to 'undoafter', so your script works. But that swapping means that the API cannot be used to undo if an import or the like resulted in the earlier revision having a larger revision ID than the later one. To fix that bug we're going to remove that swapping. Thanks. BJorsch (WMF) (talk) 15:54, 21 March 2018 (UTC)
 * I changed both the parameters. Is it okay now? Doc Taxon (talk) 19:57, 21 March 2018 (UTC)
 * The edit looks good to me. BJorsch (WMF) (talk) 20:42, 21 March 2018 (UTC)