Wiki |
This is preliminary documentation and is subject to change.
The WikiLink type exposes the following members.
| Name | Description | |
|---|---|---|
| Anchor | For wikilink expression in the form [[target|anchor]], excluding the square brackets, gets the actual displayed text (anchor) for the link. | |
| DisplayText | Gets the actual link text that should be shown. | |
| FullTitle | Gets the full title of the target page. (Namespace:Title) | |
| FullTitleAndSection | Gets the full page title and section part of the wikilink. (Namespace:Title#Section) | |
| InterwikiPrefix | Gets interwiki prefix of the wikilink. | |
| Namespace | Gets the namespace information. | |
| NamespaceName | Gets the namespace name. | |
| OriginalText | Gets the original wikitext expression that was passed to the Parse or ParseAsync methods. | |
| Section | Gets the section title of a section on the page. (Section) | |
| Site | The original wiki site provided to resolve this wikilink. | |
| Target | Gets the full wikilink target expression. (interwiki:Namespace:Title#Section) | |
| TargetSite | Gets the wiki site containing the specified page title, if such information is available. | |
| TargetUrl | Gets the full URL of the wikilink target. | |
| Title | Gets the target page title, excluding all the prefix and section. (Title) |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| NormalizeWikiLink(WikiSite, String) | Uses this class to normalize a specific wikilink expression. | |
| NormalizeWikiLink(WikiSite, String, Int32) | Uses this class to normalize a specific wikilink expression. | |
| Parse(WikiSite, String) | Parses a new instance using specified Wikilink expression. | |
| Parse(WikiSite, String, Int32) | Parses a new instance using specified Wikilink expression. | |
| ParseAsync(IWikiFamily, String) | Parses a new instance from the a Wikilink expression on the specified Wiki family. This overload resolves the target interwiki site with the interwiki prefixes provided instance, and requires text to have interwiki prefix. | |
| ParseAsync(IWikiFamily, String, Int32) | Parses a new instance from the a Wikilink expression on the specified Wiki family. This overload resolves the target interwiki site with the interwiki prefixes provided instance, and requires text to have interwiki prefix. | |
| ParseAsync(WikiSite, IWikiFamily, String) | Parses a new instance from the a Wikilink expression on the specified Wiki site and Wiki family. This overload also resolves the target interwiki site with the interwiki prefixes provided instance. | |
| ParseAsync(WikiSite, IWikiFamily, String, Int32) | Parses a new instance from the a Wikilink expression on the specified Wiki site and Wiki family. This overload also resolves the target interwiki site with the interwiki prefixes provided instance. | |
| ToString |
Gets the formatted expression of the wikilink.
(Overrides ObjectToString) | |
| TryParse(WikiSite, String) | Tries to parse a new instance using specified Wikilink expression. | |
| TryParse(WikiSite, String, Int32) | Tries to parse a new instance using specified Wikilink expression. | |
| TryParseAsync(IWikiFamily, String) | Tries to parse a new instance from the a Wikilink expression on the specified Wiki family. This overload resolves the target interwiki site with the interwiki prefixes provided instance, and requires text to have interwiki prefix. | |
| TryParseAsync(IWikiFamily, String, Int32) | Tries to parse a new instance from the a Wikilink expression on the specified Wiki family. This overload resolves the target interwiki site with the interwiki prefixes provided instance, and requires text to have interwiki prefix. | |
| TryParseAsync(WikiSite, IWikiFamily, String) | Parses a new instance from the a Wikilink expression on the specified Wiki site and Wiki family. This overload also resolves the target interwiki site with the interwiki prefixes provided instance. | |
| TryParseAsync(WikiSite, IWikiFamily, String, Int32) | Parses a new instance from the a Wikilink expression on the specified Wiki site and Wiki family. This overload also resolves the target interwiki site with the interwiki prefixes provided instance. |
| Name | Description | |
|---|---|---|
| IllegalTitlesPattern | A regular expression used to match illegal titles. |