Always use the newly-saved revision with vary-revision
authorJackmcbarn <jackmcbarn@gmail.com>
Fri, 12 Dec 2014 03:32:48 +0000 (22:32 -0500)
committerJackmcbarn <jackmcbarn@gmail.com>
Fri, 23 Jan 2015 18:13:21 +0000 (13:13 -0500)
commitba2b2242152621c43c98ecfc946a24cc5b84f8dd
tree595942f18272b04861f6c529905a7d400a72e033
parentea9612e94753a5a667a94babb8897ee8e0843cbb
Always use the newly-saved revision with vary-revision

When vary-revision is set, use a currentRevisionCallback to ensure that
the newly-saved revision will always be used by the parser. This keeps
slave lag from making vary-revision not do its job.

Bug: T78237
Change-Id: I92ec928203a67f1236c3ecf6dd5002f66a75c38c
includes/page/WikiPage.php