r106769 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106768‎ | r106769 | r106770 >
Date:08:22, 20 December 2011
Author:maxsem
Status:ok
Tags:
Comment:
Add possible error
Modified paths:
  • /trunk/extensions/FeaturedFeeds/ApiFeaturedFeeds.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FeaturedFeeds/ApiFeaturedFeeds.php
@@ -74,6 +74,7 @@
7575 public function getPossibleErrors() {
7676 return array_merge( parent::getPossibleErrors(), array(
7777 array( 'code' => 'feed-invalid', 'info' => 'Invalid subscription feed type' ),
 78+ array( 'code' => 'language-invalid', 'info' => 'Invalid language code' ),
7879 ) );
7980 }
8081

Status & tagging log