X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FFeed.php;h=2133dae48c8534ca583742497c9f6c8fb79617e7;hb=47a052b797ef8ef650aa799261c984f6abc295d8;hp=9be3f577cba3ae5f4f42ec091f0785cc3cae8749;hpb=67322efbafd9838e1ac54a92a911c3528388e095;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Feed.php b/includes/Feed.php index 9be3f577cb..2133dae48c 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -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 ) ); } } @@ -141,7 +141,7 @@ class FeedItem { */ public function getLanguage() { global $wgLanguageCode; - return $wgLanguageCode; + return wfBCP47( $wgLanguageCode ); } /**