Last modified: 2011-04-29 20:53:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30238, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28238 - paraminfo: output both limits for multi param
paraminfo: output both limits for multi param
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.18.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-25 19:58 UTC by db [inactive,noenotif]
Modified: 2011-04-29 20:53 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description db [inactive,noenotif] 2011-03-25 19:58:41 UTC
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.
Comment 1 Sam Reed (reedy) 2011-04-17 18:34:20 UTC
				$a['limit'] = $this->getMain()->canApiHighLimits() ?
						ApiBase::LIMIT_SML2 :
						ApiBase::LIMIT_SML1;


'limit' and 'highlimit' ?
Comment 2 db [inactive,noenotif] 2011-04-20 16:10:38 UTC
(In reply to comment #1)
> 'limit' and 'highlimit' ?

Sounds good.
Comment 3 Sam Reed (reedy) 2011-04-29 20:53:22 UTC
r87132

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links