(bug 17556) <link> parameters in Special:Contributions feeds (RSS and Atom) now point...
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 18 Feb 2009 20:00:05 +0000 (20:00 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 18 Feb 2009 20:00:05 +0000 (20:00 +0000)
RELEASE-NOTES
includes/specials/SpecialContributions.php

index a0e152e..f17e3bc 100644 (file)
@@ -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) <link> 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
index a8955d8..4ad326e 100644 (file)
@@ -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'] );