Click or drag to resize

SiteInfo Class

This is preliminary documentation and is subject to change.

Provides read-only access to general site information.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.SitesSiteInfo

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax
[JsonObjectAttribute(MemberSerialization.OptIn)]
public sealed class SiteInfo

The SiteInfo type exposes the following members.

Constructors
 NameDescription
Public methodSiteInfoInitializes a new instance of the SiteInfo class
Top
Properties
 NameDescription
Public propertyArticlePath The relative or absolute path to any article. $1 should be replaced by the article name. (MediaWiki 1.16+, mw:Manual:$wgArticlePath)
Public propertyBaseUrl The absolute path to the main page. (MediaWiki 1.8+)
Public propertyExtensionData Gets the other extensible site information.
Public propertyFavIconUrl 
Public propertyGenerator API version information as found in $wgVersion. (MW 1.8+)
Public propertyIsTitleCaseSensitive Whether the first letter in a title is case-sensitive. (MediaWiki 1.8+)
Public propertyLogoUrl 
Public propertyMainPage The title of the main page, as found in MediaWiki:Mainpage. (MediaWiki 1.8+)
Public propertyMaxUploadSize 
Public propertyMinUploadChunkSize 
Public propertyScriptDirectoryPath The base URL path relative to the document root. (MediaWiki 1.1.0+, mw:Manual:$wgScriptPath)
Public propertyScriptFilePath The path of index.php relative to the document root. (MediaWiki 1.1.0+, mw:Manual:$wgScript)
Public propertyServerUrl The absolute or protocol-relative base URL for the server. (MediaWiki 1.16+, mw:Manual:$wgServer)
Public propertySiteName 
Public propertyTime The current time on the server. 1.16+
Public propertyTimeOffset The offset of the wiki's time zone, from UTC. See $wgLocalTZoffset. 1.13+
Public propertyTimeZoneName The name of the wiki's time zone. See $wgLocaltimezone. 1.13+
Public propertyVersion Gets MediaWiki API version.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodMakeArticleUrl(String) Makes the full URL to the page of specified title.
Public methodMakeArticleUrl(String, String) Makes the full URL to the page of specified title.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also