From b0a26a217ef08f209f5b84f433b2165c23283b1c Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 18 Feb 2009 20:00:05 +0000 Subject: [PATCH] (bug 17556) parameters in Special:Contributions feeds (RSS and Atom) now point to the actual contributors' feed. --- RELEASE-NOTES | 2 ++ includes/specials/SpecialContributions.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index a0e152e83e..f17e3bc84e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -190,6 +190,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 14980) Messages 'shareduploadwiki' and 'shareduploadwiki-desc' are now used as a parameter in 'sharedupload' for easier styling and customization. * (bug 17482) Formatting error in Special:Preferences#Misc (Opera) +* (bug 17556) parameters in Special:Contributions feeds (RSS and Atom) + now point to the actual contributors' feed. == API changes in 1.15 == * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index a8955d8e1d..4ad326e967 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -266,7 +266,7 @@ class SpecialContributions extends SpecialPage { return $f; } - /** + /** * Output a subscription feed listing recent edits to this page. * @param string $type */ @@ -288,7 +288,7 @@ class SpecialContributions extends SpecialPage { $feed = new $wgFeedClasses[$type]( $this->feedTitle(), wfMsgExt( 'tagline', 'parsemag' ), - $this->getTitle()->getFullUrl() ); + $this->getTitle()->getFullUrl() . "/" . htmlspecialchars( $this->opts['target'] ) ); // Already valid title $nt = Title::makeTitleSafe( NS_USER, $this->opts['target'] ); -- 2.20.1