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

Change subject: Update documentation for the createThumbnail method
......................................................................


Update documentation for the createThumbnail method

Bug: 61267
Change-Id: If73e89059f5f8528a6e0aab0ec04a89a69c5d114
---
M resources/ext.popups.core.js
1 file changed, 3 insertions(+), 0 deletions(-)

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



diff --git a/resources/ext.popups.core.js b/resources/ext.popups.core.js
index 819f6fd..c5f082d 100644
--- a/resources/ext.popups.core.js
+++ b/resources/ext.popups.core.js
@@ -113,6 +113,9 @@
                /**
                 * @method createThumbnail
                 * Returns a thumbnail object based on the ratio of the image
+                * Uses an SVG image where available to add the triangle/pokey
+                * mask on the image. Crops and resizes the SVG image so that
+                * is fits inside a rectangle of a particular size.
                 * @param {Object} thumbnail
                 * @param {boolean} tall
                 * @return {Object} jQuery DOM element of the thumbnail

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If73e89059f5f8528a6e0aab0ec04a89a69c5d114
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Popups
Gerrit-Branch: master
Gerrit-Owner: Prtksxna <psax...@wikimedia.org>
Gerrit-Reviewer: Yuvipanda <yuvipa...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to