Click or drag to resize

WikiLinkNormalizeWikiLink(WikiSite, String, Int32) Method

This is preliminary documentation and is subject to change.

Uses this class to normalize a specific wikilink expression.

Namespace: WikiClientLibrary
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static string NormalizeWikiLink(
	WikiSite site,
	string text,
	int defaultNamespaceId
)

Parameters

site  WikiSite
Site instance.
text  String
Wikilink expression, without square brackets.
defaultNamespaceId  Int32
Id of default namespace.

Return Value

String
Normalized wikilink expression.
Exceptions
ExceptionCondition
ArgumentNullExceptionEither site or text is null.
ArgumentExceptiontext does not contain a valid page title.
See Also