Reduce chance for parser cache race conditions
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 24 Sep 2013 20:55:29 +0000 (13:55 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 24 Sep 2013 20:57:51 +0000 (13:57 -0700)
commit9750150c2e2841af6f142b7e9282d82e188b9e69
treea9db464592af03ee89a889c2c44ac806168d0592
parentad429498c153bbeac1fcb6e89f902e6240707945
Reduce chance for parser cache race conditions

* Move cache time definition to happen before parse so it is less likely
  to override the cache with a stale value and a high cache timestamp.

bug: 46014
Change-Id: I021d27885ac260d89232ff11ec3cccf976e44f0f
includes/WikiPage.php
includes/parser/ParserCache.php