X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fgallery%2FImageGalleryBase.php;h=c89c6b6c1e3b703b33347eb80087e5c7a625eae2;hb=98f3cfe5c1a41b0dec80be61ad388910313941e5;hp=bb9a90395a595560beccf8c5e3db4e0d92916441;hpb=0d8e9eacae1f47c60518f871dbb73f4539413d39;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/gallery/ImageGalleryBase.php b/includes/gallery/ImageGalleryBase.php index bb9a90395a..c89c6b6c1e 100644 --- a/includes/gallery/ImageGalleryBase.php +++ b/includes/gallery/ImageGalleryBase.php @@ -30,39 +30,33 @@ abstract class ImageGalleryBase extends ContextSource { /** * @var array Gallery images - * @deprecated since 1.23 (was declared "var") and will be removed in 1.24 */ - public $mImages; + protected $mImages; /** * @var bool Whether to show the filesize in bytes in categories - * @deprecated since 1.23 (was declared "var") and will be removed in 1.24 */ - public $mShowBytes; + protected $mShowBytes; /** * @var bool Whether to show the filename. Default: true - * @deprecated since 1.23 (was declared "var") and will be removed in 1.24 */ - public $mShowFilename; + protected $mShowFilename; /** * @var string Gallery mode. Default: traditional - * @deprecated since 1.23 (was declared "var") and will be removed in 1.24 */ - public $mMode; + protected $mMode; /** * @var bool|string Gallery caption. Default: false - * @deprecated since 1.23 (was declared "var") and will be removed in 1.24 */ - public $mCaption = false; + protected $mCaption = false; /** * @var bool Hide blacklisted images? - * @deprecated since 1.23 (was declared "var") and will be removed in 1.24 */ - public $mHideBadImages; + protected $mHideBadImages; /** * @var Parser Registered parser object for output callbacks @@ -120,7 +114,7 @@ abstract class ImageGalleryBase extends ContextSource { 'packed-overlay' => 'PackedOverlayImageGallery', ); // Allow extensions to make a new gallery format. - Hooks::run( 'GalleryGetModes', self::$modeMapping ); + Hooks::run( 'GalleryGetModes', array( &self::$modeMapping ) ); } }