From 370e83bb0dfd0c70de268c93bf07ad5ee0897192 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 15 Aug 2008 01:29:47 +0200 Subject: Update auf 1.13.0 --- includes/api/ApiParamInfo.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'includes/api/ApiParamInfo.php') diff --git a/includes/api/ApiParamInfo.php b/includes/api/ApiParamInfo.php index 7de22252..77ce514f 100644 --- a/includes/api/ApiParamInfo.php +++ b/includes/api/ApiParamInfo.php @@ -29,7 +29,7 @@ if (!defined('MEDIAWIKI')) { } /** - * @addtogroup API + * @ingroup API */ class ApiParamInfo extends ApiBase { @@ -55,7 +55,7 @@ class ApiParamInfo extends ApiBase { $obj = new $modArr[$m]($this->getMain(), $m); $a = $this->getClassInfo($obj); $a['name'] = $m; - $r['modules'][] = $a; + $r['modules'][] = $a; } $result->setIndexedTagName($r['modules'], 'module'); } @@ -106,7 +106,7 @@ class ApiParamInfo extends ApiBase { $retval['parameters'][] = $a; continue; } - + if(isset($p[ApiBase::PARAM_DFLT])) $a['default'] = $p[ApiBase::PARAM_DFLT]; if(isset($p[ApiBase::PARAM_ISMULTI])) @@ -131,7 +131,7 @@ class ApiParamInfo extends ApiBase { $result->setIndexedTagName($retval['parameters'], 'param'); return $retval; } - + public function getAllowedParams() { return array ( 'modules' => array( @@ -161,7 +161,6 @@ class ApiParamInfo extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiParse.php 29810 2008-01-15 21:33:08Z catrope $'; + return __CLASS__ . ': $Id: ApiParamInfo.php 35098 2008-05-20 17:13:28Z ialex $'; } } - -- cgit v1.2.3-54-g00ecf