Click or drag to resize

WikiListContinuationLoopBehaviors Enumeration

This is preliminary documentation and is subject to change.

Controls the behavior when WikiListT detects itself is getting into a loop due to the continuation parameter set provided by the server has the exact same values as query parameters.

Namespace: WikiClientLibrary.Generators.Primitive
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.8.0-int.8+f07259cca53448109bd542f6a3e53c54ddd48d58
Syntax
[FlagsAttribute]
public enum WikiListContinuationLoopBehaviors
Members
Member nameValueDescription
None0 Do nothing. This will cause an UnexpectedDataException to be thrown.
FetchMore1 Tries to fetch more items, so the last item might have a different timestamp, causing the continuation continues. WikiListT will fetch for 1000 items at most, depending on whether the user has `apihighlimits` right. If it still cannot get out of the continuation loop, an UnexpectedDataException will be thrown.
Remarks
On old MediaWiki builds with raw query continuation, if there are too many logs in the same timestamp (seconds precision), such situation can happen. If there are 100 logs sharing the same timestamp (truncated into seconds), while we only take first 50 of them as the first page, the continuation parameter set will indicate the next batch starts with the same timestamp as the first item, eventually causing client to fetch the next batch with the exactly same set of parameters.
See Also