From: jeroendedauw Date: Thu, 10 May 2012 19:25:40 +0000 (+0200) Subject: nicify field declerations X-Git-Tag: 1.31.0-rc.0~22097^2^2~171^2~2 X-Git-Url: https://git.cyclocoop.org/?a=commitdiff_plain;h=6948cfe072736567ee54426c64c69b3091e0a842;p=lhc%2Fweb%2Fwiklou.git nicify field declerations Change-Id: I0f683d421080788ba731c9b52413f532cd9d9e7c --- 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="(.*?)"(?:/>|>(.*?)())#';