Bartosz Dziewoński has uploaded a new change for review.
https://gerrit.wikimedia.org/r/195073
Change subject: FeedItem: Use full URL with protocol for <id>/<guid> in
Atom/RSS feeds
......................................................................
FeedItem: Use full URL with protocol for <id>/<guid> in Atom/RSS feeds
Bug: T89975
Change-Id: Ib84932b70aa8194b7bdabe7c90d7fdcc66054a1c
---
M includes/Feed.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/73/195073/1
diff --git a/includes/Feed.php b/includes/Feed.php
index 9be3f57..600b136 100644
--- a/includes/Feed.php
+++ b/includes/Feed.php
@@ -92,7 +92,7 @@
*/
public function getUniqueId() {
if ( $this->uniqueId ) {
- return $this->xmlEncode( $this->uniqueId );
+ return $this->xmlEncode( wfExpandUrl( $this->uniqueId,
PROTO_CURRENT ) );
}
}
--
To view, visit https://gerrit.wikimedia.org/r/195073
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib84932b70aa8194b7bdabe7c90d7fdcc66054a1c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits