$context = RequestContext::getMainAndWarn( __METHOD__ );
}
if ( !$mode ) {
- $galleryOpions = $context->getConfig()->get( 'GalleryOptions' );
- $mode = $galleryOpions['mode'];
+ $galleryOptions = $context->getConfig()->get( 'GalleryOptions' );
+ $mode = $galleryOptions['mode'];
}
$mode = $wgContLang->lc( $mode );