From bb704ad136bd4bd4c2cfbdee7e46e06c879b8007 Mon Sep 17 00:00:00 2001 From: Matthew Flaschen Date: Thu, 12 Feb 2015 22:53:50 -0500 Subject: [PATCH] Define the context field in LogFormatter Public for backwards-compatibility. Change-Id: I6d66d14b58def1fe6674b47d1e4d3ff53034bf2c --- includes/logging/LogFormatter.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/logging/LogFormatter.php b/includes/logging/LogFormatter.php index c6fcdb0d4a..4487fec6e4 100644 --- a/includes/logging/LogFormatter.php +++ b/includes/logging/LogFormatter.php @@ -80,6 +80,9 @@ class LogFormatter { /** @var int Constant for handling log_deleted */ protected $audience = self::FOR_PUBLIC; + /** @var IContextSource Context for logging */ + public $context; + /** @var bool Whether to output user tool links */ protected $linkFlood = false; -- 2.20.1