jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/338518 )

Change subject: Bug fix
......................................................................


Bug fix

Change-Id: If4300a108aae4e09845275156637ebdc4fff3e9f
---
M includes/content/CollaborationKitImage.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/includes/content/CollaborationKitImage.php 
b/includes/content/CollaborationKitImage.php
index ac2fb7f..ffc7f68 100644
--- a/includes/content/CollaborationKitImage.php
+++ b/includes/content/CollaborationKitImage.php
@@ -101,7 +101,7 @@
                if ( $renderAsWikitext ) {
                        return $wikitext;
                } else {
-                       $imageHtml = $wgParser->parse( $wikitext, $imageTitle, 
$wgParser->getOptions() )->getText();
+                       $imageHtml = $wgParser->parse( $wikitext, $imageTitle, 
new ParserOptions() )->getText();
 
                        if ( $label != '' ) {
                                $imageWrapperCss = "width:{$width}px; 
max-height:{$width}px; overflow:hidden;";

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If4300a108aae4e09845275156637ebdc4fff3e9f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CollaborationKit
Gerrit-Branch: master
Gerrit-Owner: Harej <[email protected]>
Gerrit-Reviewer: Harej <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to