From: Chad Horohoe Date: Wed, 18 Feb 2009 20:00:05 +0000 (+0000) Subject: (bug 17556) parameters in Special:Contributions feeds (RSS and Atom) now point... X-Git-Tag: 1.31.0-rc.0~42800 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=b0a26a217ef08f209f5b84f433b2165c23283b1c;p=lhc%2Fweb%2Fwiklou.git (bug 17556) parameters in Special:Contributions feeds (RSS and Atom) now point to the actual contributors' feed. --- 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'] );