DotNetWikiBot Framework Documentation
The Site type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | CorrectNsPrefix | Function changes default English namespace prefixes and local namespace aliases
to canonical local prefixes (e.g. for German wiki-sites it changes "Category:..."
to "Kategorie:..."). |
![]() | GetApiQueryResult | Gets and parses results of specified custom API query.
Only some basic queries are supported and can be parsed automatically. |
![]() | GetEnglishNsPrefix | Gets canonical default English prefix for specified namespace and colon.
If default prefix is not found the main local prefix is returned. |
![]() | GetNamespace | Identifies the namespace of the page. |
![]() | GetNsPrefix | Gets main local prefix for specified namespace and colon. |
![]() | GetNsPrefixes | Gets all names and aliases for specified namespace delimited by '|' character
and escaped for use within Regex patterns. |
![]() | GetWebPage | Gets the text of page from web. |
![]() | GetWikimediaProjects | Gets the list of all WikiMedia Foundation wiki sites as listed
here. |
![]() | LoadMediawikiMessages | Gets MediaWiki system messages
(those listed on "Special:Allmessages" page). |
![]() | PostDataAndGetResult(String, String) | Posts specified string to requested resource
and gets the result text. |
![]() | PostDataAndGetResult(String, String, Boolean, Boolean) | Posts specified string to requested resource
and gets the result text. |
![]() | RemoveNsPrefix | Removes the namespace prefix from page title. |
![]() | ShowNamespaces | Shows names and integer keys of local and default namespaces and namespace
aliases. |