diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-06-04 07:31:04 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-06-04 07:58:39 +0200 |
commit | f6d65e533c62f6deb21342d4901ece24497b433e (patch) | |
tree | f28adf0362d14bcd448f7b65a7aaf38650f923aa /includes/gallery/ImageGalleryBase.php | |
parent | c27b2e832fe25651ef2410fae85b41072aae7519 (diff) |
Update to MediaWiki 1.25.1
Diffstat (limited to 'includes/gallery/ImageGalleryBase.php')
-rw-r--r-- | includes/gallery/ImageGalleryBase.php | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/includes/gallery/ImageGalleryBase.php b/includes/gallery/ImageGalleryBase.php index b0a593de..c89c6b6c 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. - wfRunHooks( 'GalleryGetModes', self::$modeMapping ); + Hooks::run( 'GalleryGetModes', array( &self::$modeMapping ) ); } } |