Seems the api edit watch/unwatch wasn't too well tested (after it got poked a lot)
authorSam Reed <reedy@users.mediawiki.org>
Thu, 24 Feb 2011 15:51:51 +0000 (15:51 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 24 Feb 2011 15:51:51 +0000 (15:51 +0000)
commitab408b911d1447297cabef68c9352819a5a8141e
tree0d86574e91b93ec10be194456e81d8dac6dbc79f
parentc701c2fd11b3e9bc96807b98299a914901fa3f62
Seems the api edit watch/unwatch wasn't too well tested (after it got poked a lot)

EditPage::commitWatch() unconditionally  does a watch/unwatch...

And multiple watches of a watched page end up with an INSERT IGNORE, so not a big deal
includes/api/ApiBase.php