Click or drag to resize

EntityEditOptions Enumeration

This is preliminary documentation and is subject to change.

Provides options for editing a Wikibase entity.

Namespace: WikiClientLibrary.Wikibase
Assembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
[FlagsAttribute]
public enum EntityEditOptions
Members
Member nameValueDescription
None0No special options.
Bot1Mark the edit as bot edit.
Progressive2Forces progressive edit, even if WCL is creating a new item. This option cannot be used with Bulk and ClearData.
Bulk4Forces bulk edit, even if WCL is editing an existing item with less than 5 items of changes.
ClearData12Clears all the existing data of the entity before making the changes. This option implies Bulk flag.
StrictEditConflictDetection13When performing progressive edit, check for edit conflicts on every MediaWiki API request, instead of only checking for conflict before sending the first API request.
Remarks

Progressive edit makes one change per MediaWiki API request, and will leave more detailed edit summary on the Wiki. If one of the requests fails, previously made changes will still be kept anyway.

By default, if you are editing an existing item, with less than 5 items of changes, WikiClientLibrary will choose progressive edit rather than bulk one.

See Also