Merge "Pass context to parent constructor in PackedImageGallery"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 13 Jul 2015 08:01:02 +0000 (08:01 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 13 Jul 2015 08:01:02 +0000 (08:01 +0000)
includes/gallery/PackedImageGallery.php

index 52a49dd..821c85f 100644 (file)
@@ -21,8 +21,8 @@
  */
 
 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;
        }