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.3+0a73c45f0c78941900e328c6c6b819597b665e00
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