r90011 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90010‎ | r90011 | r90012 >
Date:21:35, 13 June 2011
Author:reedy
Status:ok
Tags:
Comment:
Followup r89562, use 'feedformat' not 'feed'
Modified paths:
  • /trunk/phase3/includes/api/ApiFeedWatchlist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiFeedWatchlist.php
@@ -65,7 +65,7 @@
6666 $this->dieUsage( 'Syndication feeds are not available', 'feed-unavailable' );
6767 }
6868
69 - if( !isset( $wgFeedClasses[ $params['feed'] ] ) ) {
 69+ if( !isset( $wgFeedClasses[ $params['feedformat'] ] ) ) {
7070 $this->dieUsage( 'Invalid subscription feed type', 'feed-invalid' );
7171 }
7272

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r89562Make ApiFeedWatchlist obey $wgFeed, and also die with an error if an invalid ...reedy14:06, 6 June 2011

Status & tagging log