Umherirrender has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/197706

Change subject: Pass $context to FormatMetadata::getFormattedData
......................................................................

Pass $context to FormatMetadata::getFormattedData

Pass the newly added param to FormatMetadata

Follow-Up: I524b3c9b402efbab137acbed0bc4557602aba4b4
Follow-Up: I92774e1a88f03d44967d1797c6c2b8a31c1b10fc
Change-Id: I0c02374f3a317da3f4ee2e36bb0aae71121351e0
---
M PagedTiffHandler_body.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PagedTiffHandler 
refs/changes/06/197706/1

diff --git a/PagedTiffHandler_body.php b/PagedTiffHandler_body.php
index b644522..97dcf48 100644
--- a/PagedTiffHandler_body.php
+++ b/PagedTiffHandler_body.php
@@ -636,7 +636,7 @@
                }
                $exif = $exif['exif'];
                unset( $exif['MEDIAWIKI_EXIF_VERSION'] );
-               $formatted = FormatMetadata::getFormattedData( $exif );
+               $formatted = FormatMetadata::getFormattedData( $exif, $context 
);
 
                // Sort fields into visible and collapsed
                $visibleFields = $this->visibleMetadataFields();

-- 
To view, visit https://gerrit.wikimedia.org/r/197706
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0c02374f3a317da3f4ee2e36bb0aae71121351e0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PagedTiffHandler
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to