Effectively remove EDIT_DEFER_UPDATES flag
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 8 Oct 2015 07:02:22 +0000 (00:02 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 8 Oct 2015 07:04:15 +0000 (00:04 -0700)
commit02d999ead64429628a72a98b88f330a4155c5e1e
tree7084022fb2231b83898b0702c4f3831edb788523
parent15adbabc3a1d564241ee09ac8091760b302b6b6f
Effectively remove EDIT_DEFER_UPDATES flag

* All DeferrableUpdates will be deferred as normal.
  In CLI mode this is just post-commit and would have
  happened before the doUpdates() call anyway. For web
  requests this will be at request-end (post-send on HHVM).
  Note that deferral was already the default for EditPage.
* Previously, it was easy to accidently not set EDIT_DEFER_UPDATES.
  Deferred updates are supposed to be deferrable by definition,
  and there is no longer the problem of them piling up in CLI in
  recent versions. Not deferring mostly just forfeits performance.
* Also, it is not really the responsibility of WikiPage to be
  running DeferrableUpdate instances itself.

Change-Id: I2bc47b82635e0a24b1df5d502ba66f6de737697e
includes/EditPage.php
includes/page/WikiPage.php