X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FFeed.php;h=bd03901bdc608bd9229d63dd646ada4303424a04;hb=f5afc708fbeb6351448169ba21aa1577087932cf;hp=5593601ec18905ff9fdf76e238ddcc1b24d17a70;hpb=7b79d94515878de5ec64adb1bdf7686f805f3d60;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Feed.php b/includes/Feed.php index 5593601ec1..bd03901bdc 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -137,8 +137,8 @@ class FeedItem { * @return String */ public function getLanguage() { - global $wgContLanguageCode; - return $wgContLanguageCode; + global $wgLanguageCode; + return $wgLanguageCode; } /** @@ -305,7 +305,7 @@ class RSSFeed extends ChannelFeed { <?php print $item->getTitle() ?> getUrl() ?> - RSSIsPermalink ) print ' isPermaLink="true"' ?>>getUniqueId() ?> + RSSIsPermalink ) print ' isPermaLink="false"' ?>>getUniqueId() ?> getDescription() ?> getDate() ) { ?>formatTime( $item->getDate() ) ?> getAuthor() ) { ?>getAuthor() ?>