From 6948cfe072736567ee54426c64c69b3091e0a842 Mon Sep 17 00:00:00 2001 From: jeroendedauw Date: Thu, 10 May 2012 21:25:40 +0200 Subject: [PATCH] nicify field declerations Change-Id: I0f683d421080788ba731c9b52413f532cd9d9e7c --- includes/parser/ParserOutput.php | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php index ad3a986eea..1b1715b283 100644 --- a/includes/parser/ParserOutput.php +++ b/includes/parser/ParserOutput.php @@ -141,9 +141,27 @@ class ParserOutput extends CacheTime { $mProperties = array(), # Name/value pairs to be cached in the DB $mTOCHTML = '', # HTML of the TOC $mTimestamp; # Timestamp of the revision - private $mIndexPolicy = ''; # 'index' or 'noindex'? Any other value will result in no change. - private $mAccessedOptions = array(); # List of ParserOptions (stored in the keys) - private $mSecondaryDataUpdates = array(); # List of instances of SecondaryDataObject(), used to cause some information extracted from the page in a custom place. + + /** + * 'index' or 'noindex'? Any other value will result in no change. + * + * @var string + */ + protected $mIndexPolicy = ''; + + /** + * List of ParserOptions (stored in the keys) + * + * @var array + */ + protected $mAccessedOptions = array(); + + /** + * List of instances of SecondaryDataObject(), used to cause some information extracted from the page in a custom place. + * @since WD.1 + * @var array of SecondaryDataObject + */ + protected $mSecondaryDataUpdates = array(); const EDITSECTION_REGEX = '#<(?:mw:)?editsection page="(.*?)" section="(.*?)"(?:/>|>(.*?)())#'; -- 2.20.1