This avoids a "ContextSource::getContext called without context."
Change-Id: Ib17139d4be3bf990acff1a1a435d6a7437b6f443
*/
class PackedImageGallery extends TraditionalImageGallery {
*/
class PackedImageGallery extends TraditionalImageGallery {
- function __construct( $mode = 'traditional' ) {
- parent::__construct( $mode );
+ function __construct( $mode = 'traditional', IContextSource $context = null ) {
+ parent::__construct( $mode, $context );
// Does not support per row option.
$this->mPerRow = 0;
}
// Does not support per row option.
$this->mPerRow = 0;
}