X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fgallery%2FImageGalleryBase.php;h=09e40a2821a05e78c815d13ef9ab18efeeec814f;hb=e85682ed109e13432f8ee376e16eb89325f05373;hp=318329726a5de1048772c2f5ddf88823e30d409e;hpb=d3445c054b09013ee3cb78c84d90295cd539d04b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/gallery/ImageGalleryBase.php b/includes/gallery/ImageGalleryBase.php index 318329726a..09e40a2821 100644 --- a/includes/gallery/ImageGalleryBase.php +++ b/includes/gallery/ImageGalleryBase.php @@ -58,6 +58,15 @@ abstract class ImageGalleryBase extends ContextSource { */ protected $mCaption = false; + /** + * Length to truncate filename to in caption when using "showfilename". + * A value of 'true' will truncate the filename to one line using CSS + * and will be the behaviour after deprecation. + * + * @var bool|int + */ + protected $mCaptionLength = true; + /** * @var bool Hide blacklisted images? */