r62680 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62679‎ | r62680 | r62681 >
Date:23:57, 18 February 2010
Author:reedy
Status:ok
Tags:
Comment:
getPossibleErrors for Configure.api.php
Modified paths:
  • /trunk/extensions/Configure/Configure.api.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/Configure.api.php
@@ -356,6 +356,14 @@
357357 'group' => 'Whether to group settings',
358358 );
359359 }
 360+
 361+ protected function getPossibleErrors() {
 362+ return array_merge( parent::getPossibleErrors(), array(
 363+ array( 'code' => 'noconf', 'info' => 'You need to call efConfigureSetup() to use this module' ),
 364+ array( 'code' => 'noversion', 'info' => 'version not found' ),
 365+ array( 'code' => 'nowiki', 'info' => 'wiki not found in version' ),
 366+ ) );
 367+ }
360368
361369 protected function getDescription() {
362370 return 'Configure extension\'s API module';

Status & tagging log