Harej has uploaded a new change for review. ( 
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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CollaborationKit 
refs/changes/18/338518/1

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: newchange
Gerrit-Change-Id: If4300a108aae4e09845275156637ebdc4fff3e9f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CollaborationKit
Gerrit-Branch: master
Gerrit-Owner: Harej <[email protected]>

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

Reply via email to