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.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
[JsonContractAttribute]
public sealed 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 an 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, IEnumerableInt64) Fetch revisions by revid sequence.
Public methodStatic memberFetchRevisionsAsync(WikiSite, Int64) Fetch revisions by revid sequence.
Public methodStatic memberFetchRevisionsAsync(WikiSite, IEnumerableInt64, PageQueryOptions) Fetch revisions by revid sequence.
Public methodStatic memberFetchRevisionsAsync(WikiSite, IEnumerableInt64, PageQueryOptions, CancellationToken) Fetch revisions by revid sequence.
Public methodStatic memberFetchRevisionsAsync(WikiSite, IEnumerableInt64, IWikiPageQueryProvider, CancellationToken) Fetch revisions by revid sequence.
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.
(Overrides ObjectToString)
Top
See Also