Jack Phoenix has uploaded a new change for review.
https://gerrit.wikimedia.org/r/283163
Change subject: Fix URL bug -- need a protocol here, can't use
protocol-relative URLs
......................................................................
Fix URL bug -- need a protocol here, can't use protocol-relative URLs
Change-Id: I35b24a53fceaf3b0409a095a95300f0cd815ae31
---
M LinkFeed.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LinkFilter
refs/changes/63/283163/1
diff --git a/LinkFeed.php b/LinkFeed.php
index 930f58e..62a1239 100644
--- a/LinkFeed.php
+++ b/LinkFeed.php
@@ -43,8 +43,8 @@
<item>
<title><?php echo $item->getTitle() ?></title>
<description><![CDATA[<?php echo $item->getDescription()
?>]]></description>
- <link><?php echo $url ?></link>
- <guid isPermaLink="true"><?php echo $url ?></guid>
+ <link><?php echo wfExpandUrl( $url, PROTO_CURRENT ) ?></link>
+ <guid isPermaLink="true"><?php echo wfExpandUrl( $url,
PROTO_CURRENT ) ?></guid>
</item>
<?php
}
--
To view, visit https://gerrit.wikimedia.org/r/283163
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I35b24a53fceaf3b0409a095a95300f0cd815ae31
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LinkFilter
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits