Add deprecation notices to recent s/var/public/ property changes.

See change I309cf46891223c5f1520e97b04d4ed315a300e7a for more
information.

Change-Id: I9fe5270f490657450ba2fcdb329abf66736f38c3
This commit is contained in:
Mark A. Hershberger 2014-05-10 08:35:20 -04:00
parent 4af6f63efc
commit 0804f31c1c

View file

@ -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;