MarkAHershberger has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/132672

Change subject: Make gallery properties publically accessible.
......................................................................

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
(cherry picked from commit d7f494c7be0718fef0f763e7a4286fcaf6a476c2)
---
M includes/gallery/ImageGalleryBase.php
1 file changed, 7 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/72/132672/1

diff --git a/includes/gallery/ImageGalleryBase.php 
b/includes/gallery/ImageGalleryBase.php
index d2e4689..38d9ac9 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

-- 
To view, visit https://gerrit.wikimedia.org/r/132672
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I309cf46891223c5f1520e97b04d4ed315a300e7a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: REL1_23
Gerrit-Owner: MarkAHershberger <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to