Fix DataBag ref

This commit is contained in:
Luqgreg 2018-08-09 13:52:56 +02:00
parent 3a3fd95ec8
commit a8563d659c

View file

@ -21,7 +21,7 @@ class PortableInfoboxHooks {
}
public static function onBeforeParserrenderImageGallery ( $parser, $gallery ) {
if ( $gallery instanceof ImageGalleryBase ) {
\Wikia\PortableInfobox\Helpers\PortableInfoboxDataBag::getInstance()->setGallery(
PortableInfobox\Helpers\PortableInfoboxDataBag::getInstance()->setGallery(
Parser::MARKER_PREFIX . "-gallery-" . sprintf( '%08X', $parser->mMarkerIndex-1 ) . Parser::MARKER_SUFFIX,
$gallery
);