From: Mark A. Hershberger Date: Sat, 3 May 2014 17:12:18 +0000 (-0400) Subject: Make gallery properties publically accessible. X-Git-Tag: 1.31.0-rc.0~15859^2 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=d7f494c7be0718fef0f763e7a4286fcaf6a476c2;p=lhc%2Fweb%2Fwiklou.git Make gallery properties publically accessible. They were public in the previous release of MediaWiki (1.22), although the visibility was not set explicitly. See I779d5a683982dc25bc7cdd30addd5870f2a7efd0 and https://github.com/SemanticMediaWiki/SemanticResultFormats/issues/12 Change-Id: I309cf46891223c5f1520e97b04d4ed315a300e7a --- diff --git a/includes/gallery/ImageGalleryBase.php b/includes/gallery/ImageGalleryBase.php index 42e8c0300b..befab157cd 100644 --- a/includes/gallery/ImageGalleryBase.php +++ b/includes/gallery/ImageGalleryBase.php @@ -29,29 +29,29 @@ */ abstract class ImageGalleryBase extends ContextSource { /** @var array Gallery images */ - protected $mImages; + public $mImages; /** @var bool Whether to show the filesize in bytes in categories */ - protected $mShowBytes; + public $mShowBytes; /** @var bool Whether to show the filename. Default: true */ - protected $mShowFilename; + public $mShowFilename; /** @var string Gallery mode. Default: traditional */ - protected $mMode; + public $mMode; /** @var bool|string Gallery caption. Default: false */ - protected $mCaption = false; + public $mCaption = false; /** * @var bool Hide blacklisted images? */ - protected $mHideBadImages; + public $mHideBadImages; /** * @var Parser Registered parser object for output callbacks */ - protected $mParser; + public $mParser; /** * @var Title Contextual title, used when images are being screened against