Click or drag to resize

SiteInfoMakeArticleUrl(String, String) Method

This is preliminary documentation and is subject to change.

Makes the full URL to the page of specified title.

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public string MakeArticleUrl(
	string title,
	string defaultProtocol
)

Parameters

title  String
The title of the article.
defaultProtocol  String
For wiki sites whose ServerUrl is protocol-relative URL (e.g. //en.wikipedia.org/), specifies the default protocol to use. (e.g. https)

Return Value

String
The full URL of the article.
Exceptions
ExceptionCondition
ArgumentNullExceptionEither title or defaultProtocol is null.
Remarks
For wiki sites with specified-protocol ServerUrl, such as Wikia (which uses http), this overload respects the server-chosen protocol.
See Also