Click or drag to resize

MediaWikiVersionTryParse(String, Boolean, MediaWikiVersion) Method

This is preliminary documentation and is subject to change.

Tries to parse a MediaWiki core version number from its string representation.

Namespace: WikiClientLibrary
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static bool TryParse(
	string version,
	bool allowTruncation,
	out MediaWikiVersion parsed
)

Parameters

version  String
The version to be parsed.
allowTruncation  Boolean
Whether allows truncating unknown version suffix (such as -1+deb7u1 in 1.19.5-1+deb7u1).
parsed  MediaWikiVersion
A variable to receive the parsed version value.

Return Value

Boolean
Whether the parsing is successful.
See Also