From d7f494c7be0718fef0f763e7a4286fcaf6a476c2 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Sat, 3 May 2014 13:12:18 -0400 Subject: [PATCH] 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 --- includes/gallery/ImageGalleryBase.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 -- 2.20.1