Click or drag to resize

WikiSite Methods

This is preliminary documentation and is subject to change.

The WikiSite type exposes the following members.

Methods
 NameDescription
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 methodGetMessageAsync(String) Get the content of MediaWiki interface message.
Public methodGetMessageAsync(String, CancellationToken) Get the content of MediaWiki interface message.
Public methodGetMessagesAsync(IEnumerableString) Get the content of some or all MediaWiki interface messages.
Public methodGetMessagesAsync(IEnumerableString, CancellationToken) Get the content of some or all MediaWiki interface messages.
Public methodGetStatisticsAsync Gets the statistical information of the MediaWiki site.
Public methodGetStatisticsAsync(CancellationToken) Gets the statistical information of the MediaWiki site.
Public methodGetTokenAsync(String) Request a token for operation.
Public methodGetTokenAsync(String, Boolean) Request a token for operation.
Public methodGetTokenAsync(String, CancellationToken) Request a token for operation.
Public methodGetTokenAsync(String, Boolean, CancellationToken) Request a token for operation.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInvokeMediaWikiApiAsync(WikiRequestMessage, CancellationToken) Invokes MediaWiki API and gets JSON result.
Public methodInvokeMediaWikiApiAsync(WikiRequestMessage, Boolean, CancellationToken) Invokes MediaWiki API and gets JSON result.
Public methodInvokeMediaWikiApiAsyncT(WikiRequestMessage, IWikiResponseMessageParserT, Boolean, CancellationToken) Invokes MediaWiki API and gets JSON result.
Public methodLoginAsync(String, String) Logins into the wiki site.
Public methodLoginAsync(String, String, String) Logins into the wiki site.
Public methodLoginAsync(String, String, String, CancellationToken) Logins into the wiki site.
Public methodLogoutAsync Logouts from the wiki site.
Public methodLogoutAsync(Boolean) Logouts from the wiki site.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOpenSearchAsync(String) Performs an opensearch and get results, often used for search box suggestions. (MediaWiki 1.25 or OpenSearch extension)
Public methodOpenSearchAsync(String, Int32) Performs an opensearch and get results, often used for search box suggestions. (MediaWiki 1.25 or OpenSearch extension)
Public methodOpenSearchAsync(String, OpenSearchOptions) Performs an opensearch and get results, often used for search box suggestions. (MediaWiki 1.25 or OpenSearch extension)
Public methodOpenSearchAsync(String, Int32, OpenSearchOptions) Performs an opensearch and get results, often used for search box suggestions. (MediaWiki 1.25 or OpenSearch extension)
Public methodOpenSearchAsync(String, Int32, Int32, OpenSearchOptions) Performs an opensearch and get results, often used for search box suggestions. (MediaWiki 1.25 or OpenSearch extension)
Public methodOpenSearchAsync(String, Int32, OpenSearchOptions, CancellationToken) Performs an opensearch and get results, often used for search box suggestions. (MediaWiki 1.25 or OpenSearch extension)
Public methodOpenSearchAsync(String, Int32, Int32, OpenSearchOptions, CancellationToken) Performs an opensearch and get results, often used for search box suggestions. (MediaWiki 1.25 or OpenSearch extension)
Public methodRefreshAccountInfoAsync Refreshes user account information.
Public methodRefreshSiteInfoAsync Refreshes site information.
Public methodStatic memberSearchApiEndpointAsync Given a site or page URL of a MediaWiki site, try to look for the Api Endpoint URL of it.
Protected methodSendLogoutRequestAsync Directly sends a logout request. This method will be invoked by LogoutAsync(Boolean).
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodBeginActionScope Invokes BeginScopeTState(TState) with the current action(method) name and parameters.
(Defined by WikiLoggingHelper)
Public Extension MethodBeginActionScope
(Defined by WikiLoggingHelper)
Public Extension MethodBeginActionScope Invokes BeginScopeTState(TState) on the Logger with the current action(method) name and parameters.
(Defined by WikiLoggingHelper)
Public Extension MethodBeginActionScope
(Defined by WikiLoggingHelper)
Public Extension MethodBeginActionScope Invokes BeginScopeTState(TState) on the Logger with the current action(method) name and parameters.
(Defined by WikiLoggingHelper)
Public Extension MethodExecuteCargoQueryAsync Executes a Cargo query and retrieves the response rows.
(Defined by CargoWikiSiteExtensions)
Public Extension MethodExecuteCargoQueryAsync Executes a Cargo query and retrieves the response rows.
(Defined by CargoWikiSiteExtensions)
Public Extension MethodParseContentAsync Parsing the specific page content and/or summary, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParseContentAsync Parsing the specific page content and/or summary, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParseContentAsync Parsing the specific page content and/or summary, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParseContentAsync Parsing the specific page content and/or summary, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParsePageAsync Parsing the specific page, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParsePageAsync Parsing the specific page, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParsePageAsync Parsing the specific page, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParsePageAsync Parsing the specific page, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParsePageAsync Parsing the specific page, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParsePageAsync Parsing the specific page, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParsePageAsync Parsing the specific page, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParsePageAsync Parsing the specific page, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParseRevisionAsync Parsing the specific page revision, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParseRevisionAsync Parsing the specific page revision, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParseRevisionAsync Parsing the specific page revision, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodParseRevisionAsync Parsing the specific page revision, gets HTML and more information. (MediaWiki 1.12)
(Defined by WikiSiteExtensions)
Public Extension MethodScribuntoExecuteLuaAsyncT Evaluates an ad-hoc Lua module with the specified module content in Scribunto Lua console, and gets the returned value.
(Defined by ScribuntoWikiSiteExtensions)
Public Extension MethodScribuntoExecuteLuaAsyncT Evaluates an ad-hoc Lua module with the specified module content in Scribunto Lua console, and gets the returned value.
(Defined by ScribuntoWikiSiteExtensions)
Public Extension MethodScribuntoExecuteLuaAsyncT Evaluates an ad-hoc Lua module with the specified module content in Scribunto Lua console, and gets the returned value.
(Defined by ScribuntoWikiSiteExtensions)
Public Extension MethodScribuntoExecuteLuaAsyncT Evaluates an ad-hoc Lua module with the specified module content in Scribunto Lua console, and gets the returned value.
(Defined by ScribuntoWikiSiteExtensions)
Public Extension MethodScribuntoLoadDataAsyncT Imports the Lua module with the specified name and gets the module content.
(Defined by ScribuntoWikiSiteExtensions)
Public Extension MethodScribuntoLoadDataAsyncT Imports the Lua module with the specified name and gets the module content.
(Defined by ScribuntoWikiSiteExtensions)
Public Extension MethodScribuntoLoadDataAsyncT Imports the Lua module with the specified name and gets the module content.
(Defined by ScribuntoWikiSiteExtensions)
Public Extension MethodScribuntoLoadDataAsyncT Imports the Lua module with the specified name and gets the module content.
(Defined by ScribuntoWikiSiteExtensions)
Public Extension MethodScribuntoLoadDataAsyncT Imports the Lua module with the specified name and gets the module content.
(Defined by ScribuntoWikiSiteExtensions)
Public Extension MethodScribuntoLoadDataAsyncT Imports the Lua module with the specified name and gets the module content.
(Defined by ScribuntoWikiSiteExtensions)
Public Extension MethodScribuntoLoadDataAsyncT Imports the Lua module with the specified name and evaluates the specified Lua code with it.
(Defined by ScribuntoWikiSiteExtensions)
Public Extension MethodUploadAsync Asynchronously uploads a file in this title.
(Defined by WikiSiteExtensions)
Public Extension MethodUploadAsync Asynchronously uploads a file in this title.
(Defined by WikiSiteExtensions)
Public Extension MethodUploadAsync Asynchronously uploads a file in this title.
(Defined by WikiSiteExtensions)
Top
See Also