MediaWiki
master
NolinesImageGallery.php
Go to the documentation of this file.
1
<?php
7
namespace
MediaWiki\Gallery
;
8
13
class
NolinesImageGallery
extends
TraditionalImageGallery
{
15
protected
function
getThumbPadding
() {
16
return
0;
17
}
18
20
protected
function
getGBBorders
() {
21
// This accounts for extra space between <li> elements.
22
return
4;
23
}
24
26
protected
function
getVPad
( $boxHeight, $thumbHeight ) {
27
return
0;
28
}
29
}
30
32
class_alias( NolinesImageGallery::class,
'NolinesImageGallery'
);
MediaWiki\Gallery\NolinesImageGallery
Nolines image gallery.
Definition
NolinesImageGallery.php:13
MediaWiki\Gallery\NolinesImageGallery\getGBBorders
getGBBorders()
Get how much extra space the borders around the image takes up.For this mode, it is 2px borders on ea...
Definition
NolinesImageGallery.php:20
MediaWiki\Gallery\NolinesImageGallery\getThumbPadding
getThumbPadding()
How much padding the thumb has between the image and the inner div that contains the border....
Definition
NolinesImageGallery.php:15
MediaWiki\Gallery\NolinesImageGallery\getVPad
getVPad( $boxHeight, $thumbHeight)
Get vertical padding for a thumbnail.Generally this is the total height minus how high the thumb is....
Definition
NolinesImageGallery.php:26
MediaWiki\Gallery\TraditionalImageGallery
Image gallery.
Definition
TraditionalImageGallery.php:27
MediaWiki\Gallery
includes
Gallery
NolinesImageGallery.php
Generated on Sun Dec 14 2025 07:24:28 for MediaWiki by
1.10.0