Click or drag to resize

IWikiPagePropertyProviderTGetMaxPaginationSize Method

This is preliminary documentation and is subject to change.

Gets the maximum allowed count of titles in each MediaWiki API request.

Namespace: WikiClientLibrary.Pages.Queries.Properties
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
int GetMaxPaginationSize(
	MediaWikiVersion version,
	bool apiHighLimits
)

Parameters

version  MediaWikiVersion
MediaWiki API version. Use for unknown version or compatible mode.
apiHighLimits  Boolean
Whether the account has api-highlimits right.

Return Value

Int32
The maximum allowed count of titles in each MediaWiki API request. This applies to the values of ids= and titles= parameters for action=query request.
Remarks
The current value in documentation is 50 for users and 500 for bots. However, the actual number may be lower than this, depending on the prop= value. See mw:API:Query for the latest count limit on ids and titles.
See Also