r110562 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110561‎ | r110562 | r110563 >
Date:12:47, 2 February 2012
Author:liangent
Status:ok
Tags:
Comment:
Fix r110489, obviously a wrong line was removed.
Modified paths:
  • /trunk/extensions/FeaturedFeeds/ApiFeaturedFeeds.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FeaturedFeeds/ApiFeaturedFeeds.php
@@ -71,6 +71,7 @@
7272 return array(
7373 'feedformat' => 'The format of the feed',
7474 'feed' => 'Feed name',
 75+ 'language' => 'Feed language code. Ignored by some feeds.',
7576 );
7677 }
7778
@@ -81,7 +82,6 @@
8283 public function getPossibleErrors() {
8384 return array_merge( parent::getPossibleErrors(), array(
8485 array( 'code' => 'feed-invalid', 'info' => 'Invalid subscription feed type' ),
85 - array( 'code' => 'language-invalid', 'info' => 'Invalid language code' ),
8686 ) );
8787 }
8888

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r110489Since feed formats don't have a way to specify error conditions anyway, simpl...maxsem15:49, 1 February 2012

Status & tagging log