Avoid using DB_MASTER in SpecialEditWatchlist::getWatchlist()
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 26 Aug 2015 23:54:23 +0000 (16:54 -0700)
committerKrinkle <krinklemail@gmail.com>
Thu, 27 Aug 2015 01:09:11 +0000 (01:09 +0000)
commit326b78428d5df8c67afb8710338e8a547501ba0f
tree6f4249fbc704c2dae849331df6f5541da79f0ae1
parent96747e81e25ecbec990954637ea2516075782236
Avoid using DB_MASTER in SpecialEditWatchlist::getWatchlist()

* Only use it on POST requests, where the submit callback really
  wants the latest data. The form data will be lagged by user
  delay anyway, so using the slave there does not change much.
  ChronologyProtector already handles the user seeing their
  *own* changes for consecutive updates.

Bug: T92357
Change-Id: I50274ad5f67f6445a89c9d8d6f01d3fca1e9002b
includes/specials/SpecialEditWatchlist.php