Click or drag to resize

Revision Class

This is preliminary documentation and is subject to change.

Represents a revision of a page.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.PagesRevision

Namespace: WikiClientLibrary.Pages
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax
[JsonObjectAttribute(MemberSerialization.OptIn)]
public class Revision

The Revision type exposes the following members.

Constructors
 NameDescription
Public methodRevisionInitializes a new instance of the Revision class
Top
Properties
 NameDescription
Public propertyComment Editor's edit summary (editor's comment on revision).
Public propertyContent Gets the content of the revision.
Public propertyContentLength Content length, in bytes.
Public propertyContentModel Content model id of the revision.
Public propertyFlags Additional status of the revision.
Public propertyHiddenFields Gets a indicator of whether one or more fields has been hidden.
Public propertyId 
Public propertyPage Gets the stub of page this revision applies to.
Public propertyParentId 
Public propertySha1 SHA-1 (base 16) of the revision.
Public propertySlots Revision slots. (MW 1.32+)
Public propertyTags Any tags for this revision, such as those added by AbuseFilter.
Public propertyTimeStamp The timestamp of revision.
Public propertyUserId User id of revision creator.
Public propertyUserName The user who made the revision.
Public propertyUserStub Gets a UserStub containing the name and ID of the user made this revision.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberFetchRevisionAsync Fetch a revision by revid. This overload will also fetch the content of revision.
Public methodStatic memberFetchRevisionsAsync(WikiSite, IEnumerableInt32) Fetch revisions by revid sequence.
Public methodStatic memberFetchRevisionsAsync(WikiSite, Int32) Fetch revisions by revid sequence.
Public methodStatic memberFetchRevisionsAsync(WikiSite, IEnumerableInt32, PageQueryOptions) Fetch revisions by revid sequence.
Public methodStatic memberFetchRevisionsAsync(WikiSite, IEnumerableInt32, PageQueryOptions, CancellationToken) Fetch revisions by revid sequence.
Public methodStatic memberFetchRevisionsAsync(WikiSite, IEnumerableInt32, IWikiPageQueryProvider, CancellationToken) Fetch revisions by revid sequence.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Top
See Also