Click or drag to resize

WikiPage Methods

This is preliminary documentation and is subject to change.

The WikiPage type exposes the following members.

Methods
 NameDescription
Public methodAddSectionAsync Edits the main content of the current page, using specified new page content and other options. (MediaWiki 1.16)
Protected methodAssertExists 
Public methodDeleteAsync(String) Deletes the current page.
Public methodDeleteAsync(String, AutoWatchBehavior) Deletes the current page.
Public methodDeleteAsync(String, AutoWatchBehavior, CancellationToken) Deletes the current page.
Public methodEditAsync Edits the main content of the current page, using specified new page content and other options. (MediaWiki 1.16)
Public methodEditSectionAsync Edits the specified section of the current page, using specified new section content and other options. (MediaWiki 1.16)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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 methodGetPropertyGroup(Type) Gets the property group of specified type that is attached to this page.
Public methodGetPropertyGroupT Gets the property group of specified type that is attached to this page.
Public methodGetRedirectTargetAsync If current page is a redirect, tries to get the final target of the redirect.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsDisambiguationAsync Determines whether the existing page is a disambiguation page.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMoveAsync(String) Moves (renames) a page. (MediaWiki 1.12)
Public methodMoveAsync(String, String) Moves (renames) a page. (MediaWiki 1.12)
Public methodMoveAsync(String, String, PageMovingOptions) Moves (renames) a page. (MediaWiki 1.12)
Public methodMoveAsync(String, String, PageMovingOptions, AutoWatchBehavior, CancellationToken) Moves (renames) a page. (MediaWiki 1.12)
Protected methodOnLoadPageInfo 
Public methodPurgeAsync Asynchronously purges the current page.
Public methodPurgeAsync(PagePurgeOptions) Asynchronously purges the current page with the given options.
Public methodPurgeAsync(PagePurgeOptions, CancellationToken) Asynchronously purges the current page with the given options.
Public methodRefreshAsync Fetch information for the page. This overload will not fetch content.
Public methodRefreshAsync(IWikiPageQueryProvider) Fetch information for the page.
Public methodRefreshAsync(PageQueryOptions) Fetch information for the page.
Public methodRefreshAsync(IWikiPageQueryProvider, CancellationToken) Fetch information for the page.
Public methodRefreshAsync(PageQueryOptions, CancellationToken) Fetch information for the page.
Protected methodRequiresTitle 
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodCreateCategoriesGenerator Creates a CategoriesGenerator instance from the specified page, which enumerates the categories used on the page.
(Defined by WikiPageExtensions)
Public Extension MethodCreateFilesGenerator Creates a FilesGenerator instance from the specified page, which generates files from all used files on the page.
(Defined by WikiPageExtensions)
Public Extension MethodCreateLinksGenerator Creates a LinksGenerator instance from the specified page, which generates pages from all links on the page.
(Defined by WikiPageExtensions)
Public Extension MethodCreateRevisionsGenerator Creates a RevisionsGenerator instance from the specified page, which enumerates the sequence of revisions on the page.
(Defined by WikiPageExtensions)
Public Extension MethodCreateTransclusionsGenerator Creates a TransclusionsGenerator instance from the specified page, which generates pages from all pages (typically templates) transcluded in the page.
(Defined by WikiPageExtensions)
Top
See Also