Wiki |
This is preliminary documentation and is subject to change.
Class | Description | |
---|---|---|
CategoriesPropertyGroup | ||
CategoriesPropertyProvider | ||
CategoryInfoPropertyGroup | Property group for category page information. | |
CategoryInfoPropertyProvider | Provides information for category pages. (mw:API:Categoryinfo, MediaWiki 1.13+) | |
ExtractsPropertyGroup | ||
ExtractsPropertyProvider | Returns plain-text or limited HTML extracts of the given pages. action=query&prop=extracts (mw:Extension:TextExtracts#API) | |
FileInfoPropertyGroup | Contains properties for MediaWiki files. (mw:API:Fileinfo, mw:API:Imageinfo, MediaWiki 1.13+) | |
FileInfoPropertyProvider | Provides information for MediaWiki files. (mw:API:Fileinfo, MediaWiki 1.13+) | |
GeoCoordinatesPropertyGroup | ||
GeoCoordinatesPropertyProvider | Returns the geographical coordinates associated with the page. (mw:Extension:GeoData#prop=coordinates) | |
LanguageLinkInfo | Represents the information about a language link. | |
LanguageLinksPropertyGroup | ||
LanguageLinksPropertyProvider | Gets a list of interlanguage links from the provided pages to other languages. (mw:API:Langlinks) | |
PageImageInfo | Contains information for page image URL along with image size. | |
PageImagesPropertyGroup | Contains information about images on the page, such as thumbnail and presence of photos. (mw:Extension:PageImages#API) | |
PageImagesPropertyProvider | Provides information about images on the page, such as thumbnail and presence of photos. (mw:Extension:PageImages#API) | |
PageInfoPropertyGroup | ||
PageInfoPropertyProvider | ||
PagePropertiesPropertyGroup | ||
PagePropertiesPropertyProvider | ||
RevisionsPropertyGroup | ||
RevisionsPropertyProvider | Returns the latest revision of the page. (mw:API:Revisions, MediaWiki 1.8+) | |
WikiPagePropertyGroup | A base class for an immutable group of extendable WikiPage properties. The default implementation for IWikiPagePropertyGroup. | |
WikiPagePropertyProviderT | Provides default implementation for IWikiPagePropertyProviderT. |
Structure | Description | |
---|---|---|
WikiPageCategoryInfo | Contains information about a page's belonging category. |
Interface | Description | |
---|---|---|
IWikiPagePropertyGroup | A marker interface which indicates the implementation type is an immutable group of property values associated with WikiPage that can be fetched from MediaWiki server. | |
IWikiPagePropertyProviderT | Used in client-side to implement different query modules by providing extra parameters for action=query requests. |
Enumeration | Description | |
---|---|---|
LanguageLinkProperties | The additional language link properties to retrieve for LanguageLinksPropertyGroup. |
When querying for MediaWiki pages from server, the client can also ask for a subset of properties for the page of interest. Depending on the installation of extensions, the server supports different set of property modules. For a list of commonly-used property modules, see mw:API:Properties.
The classes in this namespace deal with property modules that applies to pages only. For property modules that don't need to be associated with MediaWiki pages (e.g. prop=stashimageinfo), you might need to initiate the request via InvokeMediaWikiApiAsync(WikiRequestMessage, CancellationToken). For most of the properties that returns a sequence of values (e.g. prop=revisions, prop=links), please refer to the derived classes of WikiPagePropertyListT, which allows you to enumerate the items with automatic list-continuation support. There is one special case, however, for prop=revisions, that it has been implemented as RevisionsPropertyProvider and RevisionsGenerator. For the distinction between these classes, see their respective documentations.