Tim Starling has uploaded a new change for review.

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

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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ParsoidBatchAPI 
refs/changes/58/238658/1

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: newchange
Gerrit-Change-Id: If0786369949c06f90b4b8a5e8c173e4dbde23d0c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ParsoidBatchAPI
Gerrit-Branch: master
Gerrit-Owner: Tim Starling <[email protected]>

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

Reply via email to