From 20e2a2e43c518ef88bd30329e50c95462d89226d Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 19 Dec 2007 01:42:51 +0000 Subject: [PATCH] Fix regression in 28274: autodiscovery feed links were linked with feed=rss regardless of actual type --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ) ); } } -- 2.20.1