A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgGalleryOptions below:

Manual:$wgGalleryOptions - MediaWiki

Toggle the table of contents Manual:$wgGalleryOptions Default settings for the ‎<gallery> tag.
Introduced in version: 1.17.0 (r63707) Removed in version: Still in use Allowed values: (associative array) Default value: see below

The default settings for the ‎<gallery> tag, and galleries in categories.

See the "default value" below for the possible keys, and a description of each setting.

Some of these settings correspond, in a confusing way, to attributes that can be specified for the ‎<gallery> tag itself. See Help:Images#Optional gallery attributes for information on each of the attributes.

This key in $wgGalleryOptions... ...sets the default value for this ‎<gallery> tag attribute imagesPerRow perrow= imageWidth widths= imageHeight heights= mode mode= (New in MediaWiki 1.22 – see Help:Images#Mode parameter for more information)
$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' => true, // Length of caption to truncate (in characters) in special pages or when the showfilename parameter is used
	                         // A value of 'true' will truncate the filename to one line using CSS.
	                         // Deprecated since 1.28. Default value of 25 before 1.28.
	'showBytes' => true, // Show the filesize in bytes in categories
    'mode' => 'traditional', // One of "traditional", "nolines", "packed", "packed-hover", "packed-overlay", "slideshow" (1.28+)
];

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4