Clarify functionality of 'captionLength' in GalleryOptions
authorEd Sanders <esanders@wikimedia.org>
Fri, 8 Jul 2016 16:23:43 +0000 (17:23 +0100)
committerEd Sanders <esanders@wikimedia.org>
Fri, 8 Jul 2016 17:31:23 +0000 (18:31 +0100)
Change-Id: Ieaacec06282785d789ed89acc984b4dff4ad4460

includes/DefaultSettings.php

index f176556..f6611ac 100644 (file)
@@ -1444,7 +1444,7 @@ $wgGalleryOptions = [
        'imagesPerRow' => 0, // Default number of images per-row in the gallery. 0 -> Adapt to screensize
        'imageWidth' => 120, // Width of the cells containing images in galleries (in "px")
        'imageHeight' => 120, // Height of the cells containing images in galleries (in "px")
-       'captionLength' => 25, // Length of caption to truncate (in characters)
+       'captionLength' => 25, // Length to truncate filename to in caption when using "showfilename"
        'showBytes' => true, // Show the filesize in bytes in categories
        'mode' => 'traditional',
 ];