jenkins-bot has submitted this change and it was merged.

Change subject: Add imageinfo property "mustRender"
......................................................................


Add imageinfo property "mustRender"

Bug: T112668
Change-Id: If0786369949c06f90b4b8a5e8c173e4dbde23d0c
---
M includes/ApiParsoidBatch.php
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Subramanya Sastry: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/ApiParsoidBatch.php b/includes/ApiParsoidBatch.php
index e3bc802..5e904b8 100644
--- a/includes/ApiParsoidBatch.php
+++ b/includes/ApiParsoidBatch.php
@@ -187,7 +187,8 @@
                        'width' => $file->getWidth(),
                        'height' => $file->getHeight(),
                        'mediatype' => $file->getMediaType(),
-                       'url' => wfExpandUrl( $file->getFullURL(), 
PROTO_CURRENT )
+                       'url' => wfExpandUrl( $file->getFullURL(), 
PROTO_CURRENT ),
+                       'mustRender' => $file->mustRender()
                );
 
                $txopts = $this->makeTransformOptions( $file, $txopts );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If0786369949c06f90b4b8a5e8c173e4dbde23d0c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ParsoidBatchAPI
Gerrit-Branch: master
Gerrit-Owner: Tim Starling <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to