| 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.PropertiesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax int GetMaxPaginationSize(
MediaWikiVersion version,
bool apiHighLimits
)
Function GetMaxPaginationSize (
version As MediaWikiVersion,
apiHighLimits As Boolean
) As Integer
Dim instance As IWikiPagePropertyProvider
Dim version As MediaWikiVersion
Dim apiHighLimits As Boolean
Dim returnValue As Integer
returnValue = instance.GetMaxPaginationSize(version,
apiHighLimits)
int GetMaxPaginationSize(
MediaWikiVersion version,
bool apiHighLimits
)
abstract GetMaxPaginationSize :
version : MediaWikiVersion *
apiHighLimits : bool -> int
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