Florianschmidtwelzow has uploaded a new change for review. https://gerrit.wikimedia.org/r/181410
Change subject: Really allow Extensions to make a new gallery format ...................................................................... Really allow Extensions to make a new gallery format Adjust GalleryGetModes call to fit Hooks::run() signature. Change-Id: I916dade31d6d67de4bb82582cc71585e83fec1c9 --- M includes/gallery/ImageGalleryBase.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/10/181410/1 diff --git a/includes/gallery/ImageGalleryBase.php b/includes/gallery/ImageGalleryBase.php index bb9a903..2a888a5 100644 --- a/includes/gallery/ImageGalleryBase.php +++ b/includes/gallery/ImageGalleryBase.php @@ -120,7 +120,7 @@ 'packed-overlay' => 'PackedOverlayImageGallery', ); // Allow extensions to make a new gallery format. - Hooks::run( 'GalleryGetModes', self::$modeMapping ); + Hooks::run( 'GalleryGetModes', array( &self::$modeMapping ) ); } } -- To view, visit https://gerrit.wikimedia.org/r/181410 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I916dade31d6d67de4bb82582cc71585e83fec1c9 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.wel...@t-online.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits