This just skews the numbers with cases that could not use
the cache anyway.
Bug: T136678
Change-Id: Iaa90d4f6ee80e886f59bc43a1392e59fe2a8f900
}
// Get the pre-save transform content and final parser output
- $editInfo = $this->prepareContentForEdit( $content, null, $user, $serialFormat );
+ $useCache = !( $flags & EDIT_FORCE_BOT ); // avoid statsd noise (T136678)
+ $editInfo = $this->prepareContentForEdit( $content, null, $user, $serialFormat, $useCache );
$pstContent = $editInfo->pstContent; // Content object
$meta = [
'bot' => ( $flags & EDIT_FORCE_BOT ),