From: Brion Vibber Date: Wed, 19 Dec 2007 01:42:51 +0000 (+0000) Subject: Fix regression in 28274: autodiscovery feed links were linked with feed=rss regardles... X-Git-Tag: 1.31.0-rc.0~50351 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=20e2a2e43c518ef88bd30329e50c95462d89226d;p=lhc%2Fweb%2Fwiklou.git Fix regression in 28274: autodiscovery feed links were linked with feed=rss regardless of actual type --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 23effc3ad9..0c691ab82b 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1307,7 +1307,7 @@ class OutputPage { foreach( $wgFeedClasses as $format => $class ) { $ret .= $this->feedLink( $format, - $wgRequest->appendQuery( "feed=rss{$appendQuery}" ), + $wgRequest->appendQuery( "feed=$format{$appendQuery}" ), wfMsg( "page-{$format}-feed", $wgTitle->getPrefixedText() ) ); } }