Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -117,6 +117,8 @@ |
118 | 118 | |
119 | 119 | $feedType = $wgRequest->getVal( 'feed' ); |
120 | 120 | if( $feedType ) { |
| 121 | + // Maintain some level of backwards compatability |
| 122 | + // If people request feeds using the old parameters, redirect to API |
121 | 123 | $apiParams = array( |
122 | 124 | 'action' => 'feedcontributions', |
123 | 125 | 'feedformat' => $feedType, |
— | — | @@ -151,7 +153,7 @@ |
152 | 154 | } |
153 | 155 | |
154 | 156 | // Add RSS/atom links |
155 | | - $this->addFeedLinks( array( 'action' => 'feedcontributions', 'user' => $wgUser->getName() ) ); |
| 157 | + $this->addFeedLinks( array( 'action' => 'feedcontributions', 'user' => $target ) ); |
156 | 158 | |
157 | 159 | if ( wfRunHooks( 'SpecialContributionsBeforeMainOutput', array( $id ) ) ) { |
158 | 160 | |