mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 11:59:56 +00:00
Fix DataBag ref
This commit is contained in:
parent
3a3fd95ec8
commit
a8563d659c
|
@ -21,7 +21,7 @@ class PortableInfoboxHooks {
|
||||||
}
|
}
|
||||||
public static function onBeforeParserrenderImageGallery ( $parser, $gallery ) {
|
public static function onBeforeParserrenderImageGallery ( $parser, $gallery ) {
|
||||||
if ( $gallery instanceof ImageGalleryBase ) {
|
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,
|
Parser::MARKER_PREFIX . "-gallery-" . sprintf( '%08X', $parser->mMarkerIndex-1 ) . Parser::MARKER_SUFFIX,
|
||||||
$gallery
|
$gallery
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue