From 0804f31c1c116787f58c2fa5d09e168d3d131c92 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Sat, 10 May 2014 08:35:20 -0400 Subject: [PATCH] Add deprecation notices to recent s/var/public/ property changes. See change I309cf46891223c5f1520e97b04d4ed315a300e7a for more information. Change-Id: I9fe5270f490657450ba2fcdb329abf66736f38c3 --- includes/gallery/ImageGalleryBase.php | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/includes/gallery/ImageGalleryBase.php b/includes/gallery/ImageGalleryBase.php index befab157cd..39da597262 100644 --- a/includes/gallery/ImageGalleryBase.php +++ b/includes/gallery/ImageGalleryBase.php @@ -28,23 +28,39 @@ * @ingroup Media */ abstract class ImageGalleryBase extends ContextSource { - /** @var array Gallery images */ + /** + * @var array Gallery images + * @deprecated in 1.23 (was declared "var") and will be removed in 1.24 + */ public $mImages; - /** @var bool Whether to show the filesize in bytes in categories */ + /** + * @var bool Whether to show the filesize in bytes in categories + * @deprecated in 1.23 (was declared "var") and will be removed in 1.24 + */ public $mShowBytes; - /** @var bool Whether to show the filename. Default: true */ + /** + * @var bool Whether to show the filename. Default: true + * @deprecated in 1.23 (was declared "var") and will be removed in 1.24 + */ public $mShowFilename; - /** @var string Gallery mode. Default: traditional */ + /** + * @var string Gallery mode. Default: traditional + * @deprecated in 1.23 (was declared "var") and will be removed in 1.24 + */ public $mMode; - /** @var bool|string Gallery caption. Default: false */ + /** + * @var bool|string Gallery caption. Default: false + * @deprecated in 1.23 (was declared "var") and will be removed in 1.24 + */ public $mCaption = false; /** * @var bool Hide blacklisted images? + * @deprecated in 1.23 (was declared "var") and will be removed in 1.24 */ public $mHideBadImages; -- 2.20.1