dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Make cleanupSpam.php query for http and https"
[lhc/web/wiklou.git]
/
includes
/
gallery
/
PackedImageGallery.php
diff --git
a/includes/gallery/PackedImageGallery.php
b/includes/gallery/PackedImageGallery.php
index
821c85f
..
2e4836a
100644
(file)
--- a/
includes/gallery/PackedImageGallery.php
+++ b/
includes/gallery/PackedImageGallery.php
@@
-60,10
+60,10
@@
class PackedImageGallery extends TraditionalImageGallery {
}
// self::SCALE_FACTOR so the js has some room to manipulate sizes.
}
// self::SCALE_FACTOR so the js has some room to manipulate sizes.
- return
array(
+ return
[
'width' => $width * self::SCALE_FACTOR,
'height' => $this->mHeights * self::SCALE_FACTOR,
'width' => $width * self::SCALE_FACTOR,
'height' => $this->mHeights * self::SCALE_FACTOR,
-
)
;
+
]
;
}
protected function getThumbDivWidth( $thumbWidth ) {
}
protected function getThumbDivWidth( $thumbWidth ) {
@@
-98,7
+98,7
@@
class PackedImageGallery extends TraditionalImageGallery {
* @return array
*/
protected function getModules() {
* @return array
*/
protected function getModules() {
- return
array( 'mediawiki.page.gallery' )
;
+ return
[ 'mediawiki.page.gallery' ]
;
}
/**
}
/**