Manual:$wgGalleryOptions

From mediawiki.org
This page is a translated version of the page Manual:$wgGalleryOptions and the translation is 35% complete.
Outdated translations are marked like this.
Imágenes: $wgGalleryOptions
Configuración predeterminada para la etiqueta $gallery.
Introducido en la versión:1.17.0 (r63707)
Eliminado en la versión:aún se usa
Valores permitidos:(associative array)
Valor predeterminado:véase más abajo

Detalles

La configuración predeterminada para la etiqueta $gallery y las galerías en categorías.

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.

Esta clave en $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)

Valor predeterminado

$wgGalleryOptions = [
	'imagesPerRow' => 0, // Número predeterminado de imágenes por fila en una galería. 0: Adapt to screensize
	'imageWidth' => 120, // Ancho de las celdas que contienen imágenes en galerías (en "píxeles")
	'imageHeight' => 120, // Altura de las celdas que contienen imágenes en galerías (en "píxeles")
	'captionLength' => true, // Longitud de la leyenda para truncar (en caracteres)
	                         // 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, // Mostrar el tamaño del archivo en las categorías en bytes
    'mode' => 'traditional', // One of "traditional", "nolines", "packed", "packed-hover", "packed-overlay", "slideshow" (1.28+)
];