From: Mark A. Hershberger Date: Sat, 10 May 2014 12:35:20 +0000 (-0400) Subject: Add deprecation notices to recent s/var/public/ property changes. X-Git-Tag: 1.31.0-rc.0~15801^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=0804f31c1c116787f58c2fa5d09e168d3d131c92;p=lhc%2Fweb%2Fwiklou.git Add deprecation notices to recent s/var/public/ property changes. See change I309cf46891223c5f1520e97b04d4ed315a300e7a for more information. Change-Id: I9fe5270f490657450ba2fcdb329abf66736f38c3 --- 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;