Click or drag to resize

RevisionSlot Class

This is preliminary documentation and is subject to change.

Represents a slot in a revision. (MW 1.32+)
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.PagesRevisionSlot

Namespace: WikiClientLibrary.Pages
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
[JsonContractAttribute]
public sealed class RevisionSlot

The RevisionSlot type exposes the following members.

Constructors
 NameDescription
Public methodRevisionSlotInitializes a new instance of the RevisionSlot class
Top
Properties
 NameDescription
Public propertyContentSlot content.
Public propertyContentFormat Content serialization format used for the revision slot.
Public propertyContentLength Content length (in bytes) of the revision slot.
Public propertyContentModel Content model of the revision slot.
Public propertySha1 SHA-1 (base 16) of the revision slot.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberDocumentationSlotName Revision slot name intended for template documentations in future MediaWiki releases.
Public fieldStatic memberMainSlotName Revision slot name for main revisions.
Top
Remarks

"Slot"s have been introduced in MediaWiki 1.32 as part of Multi-Content Revisions. For more information about revision slots, see mw:Manual:slot.

See Also