Index: trunk/extensions/FeaturedFeeds/ApiFeaturedFeeds.php |
— | — | @@ -71,6 +71,7 @@ |
72 | 72 | return array( |
73 | 73 | 'feedformat' => 'The format of the feed', |
74 | 74 | 'feed' => 'Feed name', |
| 75 | + 'language' => 'Feed language code. Ignored by some feeds.', |
75 | 76 | ); |
76 | 77 | } |
77 | 78 | |
— | — | @@ -81,7 +82,6 @@ |
82 | 83 | public function getPossibleErrors() { |
83 | 84 | return array_merge( parent::getPossibleErrors(), array( |
84 | 85 | array( 'code' => 'feed-invalid', 'info' => 'Invalid subscription feed type' ), |
85 | | - array( 'code' => 'language-invalid', 'info' => 'Invalid language code' ), |
86 | 86 | ) ); |
87 | 87 | } |
88 | 88 | |