Page MenuHomePhabricator

paraminfo: output both limits for multi param
Closed, ResolvedPublic

Description

The paraminfo shows only one limit for multi params. Please output both limits, than the user see, that the user right 'apihighlimits' is also used here.

This is helpful for params without predefined types like prop=categories&clcategories.

Thanks.


Version: 1.18.x
Severity: enhancement

Details

Reference
bz28238

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:33 PM
bzimport set Reference to bz28238.
				$a['limit'] = $this->getMain()->canApiHighLimits() ?
						ApiBase::LIMIT_SML2 :
						ApiBase::LIMIT_SML1;

'limit' and 'highlimit' ?

(In reply to comment #1)

'limit' and 'highlimit' ?

Sounds good.