FeedItem: Use full URL with protocol for <id>/<guid> in Atom/RSS feeds

Bug: T89975
Change-Id: Ib84932b70aa8194b7bdabe7c90d7fdcc66054a1c
This commit is contained in:
Bartosz Dziewoński 2015-03-07 23:52:44 +01:00
parent 6ab33238a2
commit 5709ec0454

View file

@ -92,7 +92,7 @@ class FeedItem {
*/
public function getUniqueId() {
if ( $this->uniqueId ) {
return $this->xmlEncode( $this->uniqueId );
return $this->xmlEncode( wfExpandUrl( $this->uniqueId, PROTO_CURRENT ) );
}
}